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