hanfucheng 4 місяців тому
батько
коміт
474922ba3b

+ 0 - 4
qmjszx-admin/src/main/resources/templates/card/card.html

@@ -81,10 +81,6 @@
                     title: '用户账户'
                 },
                 {
-                    field: 'realName',
-                    title: '姓名'
-                },
-                {
                     field: 'mobile',
                     title: '手机号码'
                 },

+ 0 - 4
qmjszx-admin/src/main/resources/templates/card/stream.html

@@ -52,10 +52,6 @@
                     title: '用户账户'
                 },
                 {
-                    field: 'realName',
-                    title: '姓名'
-                },
-                {
                     field: 'mobile',
                     title: '手机号码'
                 },

+ 0 - 4
qmjszx-admin/src/main/resources/templates/record/record.html

@@ -85,10 +85,6 @@
                     title: '用户账户'
                 },
                 {
-                    field: 'realName',
-                    title: '姓名'
-                },
-                {
                     field: 'mobile',
                     title: '手机号码'
                 },

+ 4 - 0
qmjszx-business/src/main/java/beilv/cardpurchaserecord/service/impl/CardPurchaseRecordServiceImpl.java

@@ -66,6 +66,10 @@ public class CardPurchaseRecordServiceImpl implements ICardPurchaseRecordService
      */
     @Override
     public int insertCardPurchaseRecord(CardPurchaseRecord cardPurchaseRecord) {
+        /*购卡*/
+        //调用支付接口
+
+
         //新增购卡记录
         cardPurchaseRecord.setCreateBy(ShiroUtils.getUserId().toString());
         cardPurchaseRecord.setCreateTime(DateUtils.getNowDate());

+ 1 - 3
qmjszx-business/src/main/resources/mapper/card/CardPurchaseRecordMapper.xml

@@ -19,7 +19,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="updateBy"    column="update_by"    />
         <result property="updateTime"    column="update_time"    />
         <result property="userName"    column="username"    />
-        <result property="realName"    column="real_name"    />
         <result property="mobile"    column="mobile"    />
         <result property="cardType"    column="card_type"    />
         <result property="totalNumber"    column="total_number"    />
@@ -33,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectCardPurchaseRecordList" parameterType="CardPurchaseRecord" resultMap="CardPurchaseRecordResult">
         select a.id, a.user_id, a.card_id, a.card_name,a.card_type, a.total_number, a.member_price, a.time, a.payment_way, a.type, a.notes, a.version, a.create_by, a.create_time, a.update_by, a.update_time,
-        b.username,b.real_name,b.mobile
+        b.username,b.mobile
         from card_purchase_record a
         left join sys_member b on a.user_id = b.id
         <where>
@@ -46,7 +45,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="type != null  and type != ''"> and type = #{type}</if>
             <if test="notes != null  and notes != ''"> and notes = #{notes}</if>
             <if test="version != null  and version != ''"> and version = #{version}</if>
-            <if test="realName != null  and realName != ''"> and b.real_name like concat('%', #{realName}, '%')</if>
             <if test="mobile != null  and mobile != ''"> and b.mobile like concat('%', #{mobile}, '%')</if>
         </where>
         order by a.create_time desc

+ 0 - 4
qmjszx-business/src/main/resources/mapper/card/UserMembershipCardMapper.xml

@@ -16,7 +16,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="updateBy"    column="update_by"    />
         <result property="updateTime"    column="update_time"    />
         <result property="userName"    column="username"    />
-        <result property="realName"    column="real_name"    />
         <result property="mobile"    column="mobile"    />
         <result property="cardName"    column="cardName"    />
         <result property="state"    column="state"    />
@@ -32,7 +31,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             a.id,
             a.user_id,
             b.username,
-            b.real_name,
             b.mobile,
             a.record_id,
             c.card_name cardName,
@@ -50,7 +48,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="totalNumber != null "> and c.total_number = #{totalNumber}</if>
             <if test="remainingNumber != null "> and a.remaining_number = #{remainingNumber}</if>
             <if test="version != null  and version != ''"> and a.version = #{version}</if>
-            <if test="realName != null  and realName != ''"> and b.real_name like concat('%', #{realName}, '%')</if>
             <if test="mobile != null  and mobile != ''"> and b.mobile like concat('%', #{mobile}, '%')</if>
             <if test="cardName != null  and cardName != ''"> and c.name like concat('%', #{cardName}, '%')</if>
             <if test="cardType != null  and cardType != ''"> and c.card_type = #{cardType}</if>
@@ -127,7 +124,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             a.id,
             a.type,
             d.username,
-            d.real_name realName,
             d.mobile,
             c.card_name cardName,
             c.card_type cardType,