|
|
@ -44,27 +44,27 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
"user_phone, refund_order_no, ", |
|
|
|
"user_phone, refund_order_no, ", |
|
|
|
"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, refund_pay_channel_order_no, ", |
|
|
|
"refund_serial_no, trade_refund_no, ", |
|
|
|
"refund_price, refund_integral, ", |
|
|
|
"refund_pay_channel_order_no, refund_price, ", |
|
|
|
"refund_remark, refund_status, ", |
|
|
|
"refund_integral, refund_remark, ", |
|
|
|
"refund_fail_reason, create_time, ", |
|
|
|
"refund_status, refund_fail_reason, ", |
|
|
|
"update_time, finish_time, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"op_user_type, op_user_id, ", |
|
|
|
"finish_time, op_user_type, ", |
|
|
|
"op_user_name, ext_1, ", |
|
|
|
"op_user_id, op_user_name, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_1, 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}, #{refundPayChannelOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundSerialNo,jdbcType=VARCHAR}, #{tradeRefundNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{refundIntegral,jdbcType=BIGINT}, ", |
|
|
|
"#{refundPayChannelOrderNo,jdbcType=VARCHAR}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{refundRemark,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{refundIntegral,jdbcType=BIGINT}, #{refundRemark,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundFailReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundStatus,jdbcType=INTEGER}, #{refundFailReason,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{opUserType,jdbcType=INTEGER}, #{opUserId,jdbcType=BIGINT}, ", |
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{opUserType,jdbcType=INTEGER}, ", |
|
|
|
"#{opUserName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{opUserId,jdbcType=BIGINT}, #{opUserName,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,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); |
|
|
@ -87,6 +87,7 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
@Result(column="refund_pay_channel", property="refundPayChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_pay_channel", property="refundPayChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="reufnd_pay_type", property="reufndPayType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="reufnd_pay_type", property="reufndPayType", jdbcType=JdbcType.INTEGER), |
|
|
|
@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="refund_pay_channel_order_no", property="refundPayChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_pay_channel_order_no", property="refundPayChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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), |
|
|
@ -109,9 +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, refund_pay_channel_order_no, refund_price, refund_integral, ", |
|
|
|
"refund_serial_no, trade_refund_no, refund_pay_channel_order_no, refund_price, ", |
|
|
|
"refund_remark, refund_status, refund_fail_reason, create_time, update_time, ", |
|
|
|
"refund_integral, refund_remark, refund_status, refund_fail_reason, create_time, ", |
|
|
|
"finish_time, op_user_type, op_user_id, op_user_name, ext_1, ext_2, ext_3", |
|
|
|
"update_time, finish_time, op_user_type, op_user_id, op_user_name, ext_1, ext_2, ", |
|
|
|
|
|
|
|
"ext_3", |
|
|
|
"from bs_order_refund", |
|
|
|
"from bs_order_refund", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -128,6 +130,7 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
@Result(column="refund_pay_channel", property="refundPayChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_pay_channel", property="refundPayChannel", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="reufnd_pay_type", property="reufndPayType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="reufnd_pay_type", property="reufndPayType", jdbcType=JdbcType.INTEGER), |
|
|
|
@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="refund_pay_channel_order_no", property="refundPayChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_pay_channel_order_no", property="refundPayChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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), |
|
|
@ -168,6 +171,7 @@ public interface BsOrderRefundMapper extends BsOrderRefundMapperExt { |
|
|
|
"refund_pay_channel = #{refundPayChannel,jdbcType=INTEGER},", |
|
|
|
"refund_pay_channel = #{refundPayChannel,jdbcType=INTEGER},", |
|
|
|
"reufnd_pay_type = #{reufndPayType,jdbcType=INTEGER},", |
|
|
|
"reufnd_pay_type = #{reufndPayType,jdbcType=INTEGER},", |
|
|
|
"refund_serial_no = #{refundSerialNo,jdbcType=VARCHAR},", |
|
|
|
"refund_serial_no = #{refundSerialNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"trade_refund_no = #{tradeRefundNo,jdbcType=VARCHAR},", |
|
|
|
"refund_pay_channel_order_no = #{refundPayChannelOrderNo,jdbcType=VARCHAR},", |
|
|
|
"refund_pay_channel_order_no = #{refundPayChannelOrderNo,jdbcType=VARCHAR},", |
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
"refund_integral = #{refundIntegral,jdbcType=BIGINT},", |
|
|
|
"refund_integral = #{refundIntegral,jdbcType=BIGINT},", |
|
|
|