|
|
|
@ -45,26 +45,28 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
|
"account_merchant_no, account_merchant_key, ", |
|
|
|
|
"refund_pay_channel, reufnd_pay_type, ", |
|
|
|
|
"refund_serial_no, trade_refund_no, ", |
|
|
|
|
"refund_pay_channel_order_no, refund_price, ", |
|
|
|
|
"refund_integral, refund_remark, ", |
|
|
|
|
"refund_status, refund_fail_reason, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"finish_time, op_user_type, ", |
|
|
|
|
"op_user_id, op_user_name, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"refund_pay_channel_order_no, trade_refund_price, ", |
|
|
|
|
"refund_price, refund_integral, ", |
|
|
|
|
"refund_remark, refund_status, ", |
|
|
|
|
"refund_fail_reason, create_time, ", |
|
|
|
|
"update_time, finish_time, ", |
|
|
|
|
"op_user_type, op_user_id, ", |
|
|
|
|
"op_user_name, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{merId,jdbcType=BIGINT}, #{orderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{orderChildNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{refundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{accountMerchantNo,jdbcType=VARCHAR}, #{accountMerchantKey,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundPayChannel,jdbcType=INTEGER}, #{reufndPayType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundSerialNo,jdbcType=VARCHAR}, #{tradeRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundPayChannelOrderNo,jdbcType=VARCHAR}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundIntegral,jdbcType=BIGINT}, #{refundRemark,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundStatus,jdbcType=INTEGER}, #{refundFailReason,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{opUserType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{opUserId,jdbcType=BIGINT}, #{opUserName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{refundPayChannelOrderNo,jdbcType=VARCHAR}, #{tradeRefundPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{refundIntegral,jdbcType=BIGINT}, ", |
|
|
|
|
"#{refundRemark,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundFailReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{opUserType,jdbcType=INTEGER}, #{opUserId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{opUserName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsOrderRefund record); |
|
|
|
@ -89,6 +91,7 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
|
@Result(column="refund_serial_no", property="refundSerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="trade_refund_no", property="tradeRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_pay_channel_order_no", property="refundPayChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="trade_refund_price", property="tradeRefundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_integral", property="refundIntegral", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="refund_remark", property="refundRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -110,10 +113,10 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
|
"select", |
|
|
|
|
"id, mer_id, order_no, order_child_no, user_id, user_phone, refund_order_no, ", |
|
|
|
|
"account_merchant_no, account_merchant_key, refund_pay_channel, reufnd_pay_type, ", |
|
|
|
|
"refund_serial_no, trade_refund_no, refund_pay_channel_order_no, refund_price, ", |
|
|
|
|
"refund_integral, refund_remark, refund_status, refund_fail_reason, create_time, ", |
|
|
|
|
"update_time, finish_time, op_user_type, op_user_id, op_user_name, ext_1, ext_2, ", |
|
|
|
|
"ext_3", |
|
|
|
|
"refund_serial_no, trade_refund_no, refund_pay_channel_order_no, trade_refund_price, ", |
|
|
|
|
"refund_price, refund_integral, refund_remark, refund_status, refund_fail_reason, ", |
|
|
|
|
"create_time, update_time, finish_time, op_user_type, op_user_id, op_user_name, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_order_refund", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -132,6 +135,7 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
|
@Result(column="refund_serial_no", property="refundSerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="trade_refund_no", property="tradeRefundNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_pay_channel_order_no", property="refundPayChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="trade_refund_price", property="tradeRefundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_integral", property="refundIntegral", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="refund_remark", property="refundRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -173,6 +177,7 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
|
"refund_serial_no = #{refundSerialNo,jdbcType=VARCHAR},", |
|
|
|
|
"trade_refund_no = #{tradeRefundNo,jdbcType=VARCHAR},", |
|
|
|
|
"refund_pay_channel_order_no = #{refundPayChannelOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"trade_refund_price = #{tradeRefundPrice,jdbcType=DECIMAL},", |
|
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
|
"refund_integral = #{refundIntegral,jdbcType=BIGINT},", |
|
|
|
|
"refund_remark = #{refundRemark,jdbcType=VARCHAR},", |
|
|
|
|