|
|
@@ -28,10 +28,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="orderId" column="order_id" />
|
|
|
<result property="isPayRemain" column="is_pay_remain" />
|
|
|
<result property="payMode" column="pay_mode" />
|
|
|
+ <result property="refundAuditStatus" column="refund_audit_status" />
|
|
|
+ <result property="refundAuditRemark" column="refund_audit_remark" />
|
|
|
+ <result property="refundAuditBy" column="refund_audit_by" />
|
|
|
+ <result property="refundAuditTime" column="refund_audit_time" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsStorePaymentVo">
|
|
|
- select payment_id,pay_mode, pay_code, pay_type_code, pay_money, pay_time, create_time, trade_no, user_id, open_id, business_type, business_order_id, status,remark,company_id,company_user_id,dept_id,bank_transaction_id,bank_serial_no,refund_money,refund_time,order_id,is_pay_remain from fs_store_payment_scrm
|
|
|
+ select payment_id,pay_mode, pay_code, pay_type_code, pay_money, pay_time, create_time, trade_no, user_id, open_id, business_type, business_order_id, status,remark,company_id,company_user_id,dept_id,bank_transaction_id,bank_serial_no,refund_money,refund_time,order_id,is_pay_remain,refund_audit_status,refund_audit_remark,refund_audit_by,refund_audit_time from fs_store_payment_scrm
|
|
|
|
|
|
</sql>
|
|
|
|
|
|
@@ -90,6 +94,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="payMode != null">pay_mode,</if>
|
|
|
<if test="originalAmount != null">original_amount,</if>
|
|
|
<if test="reductionAmount != null">reduction_amount,</if>
|
|
|
+ <if test="refundAuditStatus != null">refund_audit_status,</if>
|
|
|
+ <if test="refundAuditBy != null">refund_audit_by,</if>
|
|
|
+ <if test="refundAuditTime != null">refund_audit_time,</if>
|
|
|
+ <if test="refundAuditRemark != null">refund_audit_remark,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="payCode != null">#{payCode},</if>
|
|
|
@@ -116,6 +124,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="payMode != null">#{payMode},</if>
|
|
|
<if test="originalAmount != null">#{originalAmount},</if>
|
|
|
<if test="reductionAmount != null">#{reductionAmount},</if>
|
|
|
+ <if test="refundAuditStatus != null">#{refundAuditStatus},</if>
|
|
|
+ <if test="refundAuditBy != null">#{refundAuditBy},</if>
|
|
|
+ <if test="refundAuditTime != null">#{refundAuditTime},</if>
|
|
|
+ <if test="refundAuditRemark != null">#{refundAuditRemark},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -146,6 +158,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="payMode != null">pay_mode = #{payMode},</if>
|
|
|
<if test="originalAmount != null">original_amount=#{originalAmount},</if>
|
|
|
<if test="reductionAmount != null">reduction_amount=#{reductionAmount},</if>
|
|
|
+ <if test="refundAuditStatus != null">refund_audit_status = #{refundAuditStatus},</if>
|
|
|
+ <if test="refundAuditBy != null">refund_audit_by = #{refundAuditBy},</if>
|
|
|
+ <if test="refundAuditTime != null">refund_audit_time = #{refundAuditTime},</if>
|
|
|
+ <if test="refundAuditRemark != null">refund_audit_remark = #{refundAuditRemark},</if>
|
|
|
</trim>
|
|
|
where payment_id = #{paymentId}
|
|
|
</update>
|