|
|
|
@ -45,6 +45,7 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt { |
|
|
|
|
"platform_order_no, platform_log_no, ", |
|
|
|
|
"refund_no, total_amount, ", |
|
|
|
|
"refund_amount, payer_amount, ", |
|
|
|
|
"shd_fee_amt, settle_amount, ", |
|
|
|
|
"refund_reason, `status`, ", |
|
|
|
|
"refund_time, create_time, ", |
|
|
|
|
"update_time, operator_id, ", |
|
|
|
@ -56,6 +57,7 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt { |
|
|
|
|
"#{platformOrderNo,jdbcType=VARCHAR}, #{platformLogNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundNo,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundAmount,jdbcType=DECIMAL}, #{payerAmount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{shdFeeAmt,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundReason,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{operatorId,jdbcType=BIGINT}, ", |
|
|
|
@ -85,6 +87,8 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt { |
|
|
|
|
@Result(column="total_amount", property="totalAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_amount", property="refundAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="payer_amount", property="payerAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="settle_amount", property="settleAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_reason", property="refundReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -102,8 +106,8 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt { |
|
|
|
|
"select", |
|
|
|
|
"id, trade_order_id, out_trade_no, agent_id, salesman_id, mer_id, store_id, platform_type, ", |
|
|
|
|
"platform_order_no, platform_log_no, refund_no, total_amount, refund_amount, ", |
|
|
|
|
"payer_amount, refund_reason, `status`, refund_time, create_time, update_time, ", |
|
|
|
|
"operator_id, operator_name, ext_1, ext_2, ext_3", |
|
|
|
|
"payer_amount, shd_fee_amt, settle_amount, refund_reason, `status`, refund_time, ", |
|
|
|
|
"create_time, update_time, operator_id, operator_name, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_trade_order_refund", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -122,6 +126,8 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt { |
|
|
|
|
@Result(column="total_amount", property="totalAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_amount", property="refundAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="payer_amount", property="payerAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="settle_amount", property="settleAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_reason", property="refundReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -159,6 +165,8 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt { |
|
|
|
|
"total_amount = #{totalAmount,jdbcType=DECIMAL},", |
|
|
|
|
"refund_amount = #{refundAmount,jdbcType=DECIMAL},", |
|
|
|
|
"payer_amount = #{payerAmount,jdbcType=DECIMAL},", |
|
|
|
|
"shd_fee_amt = #{shdFeeAmt,jdbcType=DECIMAL},", |
|
|
|
|
"settle_amount = #{settleAmount,jdbcType=DECIMAL},", |
|
|
|
|
"refund_reason = #{refundReason,jdbcType=VARCHAR},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
|