|
|
|
@ -61,12 +61,13 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"user_discount_price, user_discount_actual_price, ", |
|
|
|
|
"trade_actual_amount, income_amout, ", |
|
|
|
|
"acc_trade_no, acc_mdiscount_amount, ", |
|
|
|
|
"acc_discount_amount, acc_payment_code, ", |
|
|
|
|
"acc_discount_amount, shd_fee_amt, ", |
|
|
|
|
"fee_rate, settle_amount, ", |
|
|
|
|
"settle_date, acc_payment_code, ", |
|
|
|
|
"card_type, `status`, ", |
|
|
|
|
"profit_sharing_status, pay_time, ", |
|
|
|
|
"timeout_express, subject, ", |
|
|
|
|
"pay_notify_url, shd_fee_amt, ", |
|
|
|
|
"fee_rate, attach, ", |
|
|
|
|
"pay_notify_url, attach, ", |
|
|
|
|
"refund_type, refund_price, ", |
|
|
|
|
"create_type, create_time, ", |
|
|
|
|
"cancel_time, update_time, ", |
|
|
|
@ -93,12 +94,13 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"#{userDiscountPrice,jdbcType=DECIMAL}, #{userDiscountActualPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{tradeActualAmount,jdbcType=DECIMAL}, #{incomeAmout,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{accTradeNo,jdbcType=VARCHAR}, #{accMdiscountAmount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{accDiscountAmount,jdbcType=DECIMAL}, #{accPaymentCode,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{accDiscountAmount,jdbcType=DECIMAL}, #{shdFeeAmt,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{feeRate,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{settleDate,jdbcType=TIMESTAMP}, #{accPaymentCode,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{cardType,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{timeoutExpress,jdbcType=INTEGER}, #{subject,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{payNotifyUrl,jdbcType=VARCHAR}, #{shdFeeAmt,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{feeRate,jdbcType=DECIMAL}, #{attach,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{payNotifyUrl,jdbcType=VARCHAR}, #{attach,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundType,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{createType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
@ -160,6 +162,10 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="acc_trade_no", property="accTradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="acc_mdiscount_amount", property="accMdiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="acc_discount_amount", property="accDiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="fee_rate", property="feeRate", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="settle_amount", property="settleAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="settle_date", property="settleDate", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="acc_payment_code", property="accPaymentCode", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="card_type", property="cardType", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -168,8 +174,6 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="timeout_express", property="timeoutExpress", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="fee_rate", property="feeRate", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -194,10 +198,10 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"store_discount_actual_price, store_discount_profit_price, user_id, user_phone, ", |
|
|
|
|
"user_discount_id, user_discount_name, user_discount_type, user_discount_price, ", |
|
|
|
|
"user_discount_actual_price, trade_actual_amount, income_amout, acc_trade_no, ", |
|
|
|
|
"acc_mdiscount_amount, acc_discount_amount, acc_payment_code, card_type, `status`, ", |
|
|
|
|
"profit_sharing_status, pay_time, timeout_express, subject, pay_notify_url, shd_fee_amt, ", |
|
|
|
|
"fee_rate, attach, refund_type, refund_price, create_type, create_time, cancel_time, ", |
|
|
|
|
"update_time, ext_1, ext_2, ext_3", |
|
|
|
|
"acc_mdiscount_amount, acc_discount_amount, shd_fee_amt, fee_rate, settle_amount, ", |
|
|
|
|
"settle_date, acc_payment_code, card_type, `status`, profit_sharing_status, pay_time, ", |
|
|
|
|
"timeout_express, subject, pay_notify_url, attach, refund_type, refund_price, ", |
|
|
|
|
"create_type, create_time, cancel_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_trade_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -249,6 +253,10 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="acc_trade_no", property="accTradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="acc_mdiscount_amount", property="accMdiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="acc_discount_amount", property="accDiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="fee_rate", property="feeRate", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="settle_amount", property="settleAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="settle_date", property="settleDate", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="acc_payment_code", property="accPaymentCode", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="card_type", property="cardType", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -257,8 +265,6 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="timeout_express", property="timeoutExpress", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="fee_rate", property="feeRate", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -329,6 +335,10 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"acc_trade_no = #{accTradeNo,jdbcType=VARCHAR},", |
|
|
|
|
"acc_mdiscount_amount = #{accMdiscountAmount,jdbcType=DECIMAL},", |
|
|
|
|
"acc_discount_amount = #{accDiscountAmount,jdbcType=DECIMAL},", |
|
|
|
|
"shd_fee_amt = #{shdFeeAmt,jdbcType=DECIMAL},", |
|
|
|
|
"fee_rate = #{feeRate,jdbcType=DECIMAL},", |
|
|
|
|
"settle_amount = #{settleAmount,jdbcType=DECIMAL},", |
|
|
|
|
"settle_date = #{settleDate,jdbcType=TIMESTAMP},", |
|
|
|
|
"acc_payment_code = #{accPaymentCode,jdbcType=VARCHAR},", |
|
|
|
|
"card_type = #{cardType,jdbcType=VARCHAR},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
@ -337,8 +347,6 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"timeout_express = #{timeoutExpress,jdbcType=INTEGER},", |
|
|
|
|
"subject = #{subject,jdbcType=VARCHAR},", |
|
|
|
|
"pay_notify_url = #{payNotifyUrl,jdbcType=VARCHAR},", |
|
|
|
|
"shd_fee_amt = #{shdFeeAmt,jdbcType=DECIMAL},", |
|
|
|
|
"fee_rate = #{feeRate,jdbcType=DECIMAL},", |
|
|
|
|
"attach = #{attach,jdbcType=VARCHAR},", |
|
|
|
|
"refund_type = #{refundType,jdbcType=INTEGER},", |
|
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
|