|
@@ -34,6 +34,7 @@
|
|
|
<result column="pay_time_" property="payTime"/>
|
|
|
<result column="version_" property="version"/>
|
|
|
<result column="receive_status_" property="receiveStatus"/>
|
|
|
+ <result column="batch_no_" property="batchNo"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.ym.mec.biz.dal.dto.StudentPaymentOrderDto" extends="StudentPaymentOrder"
|
|
@@ -102,7 +103,7 @@
|
|
|
per_amount_,
|
|
|
balance_payment_amount_, remit_fee_, course_remit_fee_, trans_no_,
|
|
|
status_, memo_, create_time_, update_time_, payment_channel_, payment_business_channel_,
|
|
|
- payment_account_no_, mer_nos_, order_no_, music_group_id_, class_group_id_, pay_time_)
|
|
|
+ payment_account_no_, mer_nos_, order_no_, music_group_id_, class_group_id_, pay_time_,batch_no_)
|
|
|
VALUES (#{id}, #{groupType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
#{userId}, #{organId}, #{routingOrganId},
|
|
|
#{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
@@ -111,7 +112,7 @@
|
|
|
#{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{memo}, now(), now(),
|
|
|
#{paymentChannel}, #{paymentBusinessChannel}, #{paymentAccountNo}, #{merNos}, #{orderNo},
|
|
|
#{musicGroupId},
|
|
|
- #{classGroupId}, #{payTime})
|
|
|
+ #{classGroupId}, #{payTime},#{batchNo})
|
|
|
</insert>
|
|
|
|
|
|
|
|
@@ -191,6 +192,9 @@
|
|
|
<if test="payTime != null">
|
|
|
pay_time_ = #{payTime},
|
|
|
</if>
|
|
|
+ <if test="batchNo != null">
|
|
|
+ batch_no_ = #{batchNo},
|
|
|
+ </if>
|
|
|
<if test="version != null">
|
|
|
version_ = version_+1,
|
|
|
</if>
|
|
@@ -275,6 +279,9 @@
|
|
|
<if test="studentPaymentOrder.payTime != null">
|
|
|
pay_time_ = #{studentPaymentOrder.payTime},
|
|
|
</if>
|
|
|
+ <if test="studentPaymentOrder.batchNo != null">
|
|
|
+ batch_no_ = #{studentPaymentOrder.batchNo},
|
|
|
+ </if>
|
|
|
<if test="studentPaymentOrder.version != null">
|
|
|
version_ = version_+1,
|
|
|
</if>
|