@ -46,11 +46,11 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt {
"refund_no, total_amount, " ,
"refund_amount, 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)" ,
"settle_date, refund_reason, " ,
"`status`, refund_time, " ,
"create_time, update_time , " ,
"operator_id, operator_name , " ,
"ext_1, ext_ 2, ext_3)" ,
"values (#{tradeOrderId,jdbcType=BIGINT}, #{outTradeNo,jdbcType=VARCHAR}, " ,
"#{agentId,jdbcType=BIGINT}, #{salesmanId,jdbcType=BIGINT}, " ,
"#{merId,jdbcType=BIGINT}, #{storeId,jdbcType=BIGINT}, #{platformType,jdbcType=INTEGER}, " ,
@ -58,11 +58,11 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt {
"#{refundNo,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, " ,
"#{refundAmount,jdbcType=DECIMAL}, #{payerAmount,jdbcType=DECIMAL}, " ,
"#{shdFeeAmt,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, " ,
"#{refundReason,jdbcType=VARCHAR}, #{status,jdbcType=INTEGE R}, " ,
"#{refundTime,jdbcType=TIMESTAMP}, #{create Time,jdbcType=TIMESTAMP}, " ,
"#{updateTime,jdbcType=TIMESTAMP}, #{operatorId,jdbcType=BIGINT }, " ,
"#{operatorName,jdbcType=VARCHAR}, #{ext1 ,jdbcType=VARCHAR}, " ,
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
"#{settleDate,jdbcType=DATE}, #{refundReason,jdbcType=VARCHA R}, " ,
"#{status,jdbcType=INTEGER}, #{refund Time,jdbcType=TIMESTAMP}, " ,
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP }, " ,
"#{operatorId,jdbcType=BIGINT}, #{operatorName ,jdbcType=VARCHAR}, " ,
"#{ext1,jdbcType=VARCHAR}, #{ext 2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
} )
@Options ( useGeneratedKeys = true , keyProperty = "id" )
int insert ( BsTradeOrderRefund record ) ;
@ -89,6 +89,7 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt {
@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 = "settle_date" , property = "settleDate" , jdbcType = JdbcType . DATE ) ,
@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 ) ,
@ -106,8 +107,9 @@ 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, shd_fee_amt, settle_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, settle_date, 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}"
} )
@ -128,6 +130,7 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt {
@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 = "settle_date" , property = "settleDate" , jdbcType = JdbcType . DATE ) ,
@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 ) ,
@ -167,6 +170,7 @@ public interface BsTradeOrderRefundMapper extends BsTradeOrderRefundMapperExt {
"payer_amount = #{payerAmount,jdbcType=DECIMAL}," ,
"shd_fee_amt = #{shdFeeAmt,jdbcType=DECIMAL}," ,
"settle_amount = #{settleAmount,jdbcType=DECIMAL}," ,
"settle_date = #{settleDate,jdbcType=DATE}," ,
"refund_reason = #{refundReason,jdbcType=VARCHAR}," ,
"`status` = #{status,jdbcType=INTEGER}," ,
"refund_time = #{refundTime,jdbcType=TIMESTAMP}," ,