|
|
@ -60,19 +60,19 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"user_discount_name, user_discount_type, ", |
|
|
|
"user_discount_name, user_discount_type, ", |
|
|
|
"user_discount_price, user_discount_actual_price, ", |
|
|
|
"user_discount_price, user_discount_actual_price, ", |
|
|
|
"trade_actual_amount, income_amount, ", |
|
|
|
"trade_actual_amount, income_amount, ", |
|
|
|
"acc_trade_no, acc_mdiscount_amount, ", |
|
|
|
"acc_trade_no, acc_settle_amount, ", |
|
|
|
"acc_discount_amount, shd_fee_amt, ", |
|
|
|
"acc_mdiscount_amount, acc_discount_amount, ", |
|
|
|
"fee_rate, settle_amount, ", |
|
|
|
"shd_fee_amt, fee_rate, ", |
|
|
|
"settle_date, acc_payment_code, ", |
|
|
|
"settle_amount, settle_date, ", |
|
|
|
"card_type, `status`, ", |
|
|
|
"acc_payment_code, card_type, ", |
|
|
|
"profit_sharing_status, pay_time, ", |
|
|
|
"`status`, profit_sharing_status, ", |
|
|
|
"timeout_express, subject, ", |
|
|
|
"pay_time, timeout_express, ", |
|
|
|
"pay_notify_url, attach, ", |
|
|
|
"subject, pay_notify_url, ", |
|
|
|
"special_field, refund_type, ", |
|
|
|
"attach, special_field, ", |
|
|
|
"refund_price, create_type, ", |
|
|
|
"refund_type, refund_price, ", |
|
|
|
"create_time, cancel_time, ", |
|
|
|
"create_type, create_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"cancel_time, update_time, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{agentId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{agentId,jdbcType=BIGINT}, ", |
|
|
|
"#{salesmanId,jdbcType=BIGINT}, #{salesmanName,jdbcType=VARCHAR}, ", |
|
|
|
"#{salesmanId,jdbcType=BIGINT}, #{salesmanName,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{merNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{merNo,jdbcType=VARCHAR}, ", |
|
|
@ -94,19 +94,19 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"#{userDiscountName,jdbcType=VARCHAR}, #{userDiscountType,jdbcType=INTEGER}, ", |
|
|
|
"#{userDiscountName,jdbcType=VARCHAR}, #{userDiscountType,jdbcType=INTEGER}, ", |
|
|
|
"#{userDiscountPrice,jdbcType=DECIMAL}, #{userDiscountActualPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{userDiscountPrice,jdbcType=DECIMAL}, #{userDiscountActualPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{tradeActualAmount,jdbcType=DECIMAL}, #{incomeAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{tradeActualAmount,jdbcType=DECIMAL}, #{incomeAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{accTradeNo,jdbcType=VARCHAR}, #{accMdiscountAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{accTradeNo,jdbcType=VARCHAR}, #{accSettleAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{accDiscountAmount,jdbcType=DECIMAL}, #{shdFeeAmt,jdbcType=DECIMAL}, ", |
|
|
|
"#{accMdiscountAmount,jdbcType=DECIMAL}, #{accDiscountAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{feeRate,jdbcType=DECIMAL}, #{settleAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{shdFeeAmt,jdbcType=DECIMAL}, #{feeRate,jdbcType=DECIMAL}, ", |
|
|
|
"#{settleDate,jdbcType=DATE}, #{accPaymentCode,jdbcType=VARCHAR}, ", |
|
|
|
"#{settleAmount,jdbcType=DECIMAL}, #{settleDate,jdbcType=DATE}, ", |
|
|
|
"#{cardType,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{accPaymentCode,jdbcType=VARCHAR}, #{cardType,jdbcType=VARCHAR}, ", |
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{profitSharingStatus,jdbcType=BIT}, ", |
|
|
|
"#{timeoutExpress,jdbcType=INTEGER}, #{subject,jdbcType=VARCHAR}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{timeoutExpress,jdbcType=INTEGER}, ", |
|
|
|
"#{payNotifyUrl,jdbcType=VARCHAR}, #{attach,jdbcType=VARCHAR}, ", |
|
|
|
"#{subject,jdbcType=VARCHAR}, #{payNotifyUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{specialField,jdbcType=VARCHAR}, #{refundType,jdbcType=INTEGER}, ", |
|
|
|
"#{attach,jdbcType=VARCHAR}, #{specialField,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{createType,jdbcType=INTEGER}, ", |
|
|
|
"#{refundType,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{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(BsTradeOrder record); |
|
|
|
int insert(BsTradeOrder record); |
|
|
@ -162,6 +162,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
@Result(column="trade_actual_amount", property="tradeActualAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="trade_actual_amount", property="tradeActualAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="income_amount", property="incomeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="income_amount", property="incomeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_trade_no", property="accTradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="acc_trade_no", property="accTradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="acc_settle_amount", property="accSettleAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_mdiscount_amount", property="accMdiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_mdiscount_amount", property="accMdiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_discount_amount", property="accDiscountAmount", 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="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
@ -201,9 +202,9 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"store_discount_actual_price, store_discount_profit_price, user_id, user_phone, ", |
|
|
|
"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_id, user_discount_name, user_discount_type, user_discount_price, ", |
|
|
|
"user_discount_actual_price, trade_actual_amount, income_amount, acc_trade_no, ", |
|
|
|
"user_discount_actual_price, trade_actual_amount, income_amount, acc_trade_no, ", |
|
|
|
"acc_mdiscount_amount, acc_discount_amount, shd_fee_amt, fee_rate, settle_amount, ", |
|
|
|
"acc_settle_amount, acc_mdiscount_amount, acc_discount_amount, shd_fee_amt, fee_rate, ", |
|
|
|
"settle_date, acc_payment_code, card_type, `status`, profit_sharing_status, pay_time, ", |
|
|
|
"settle_amount, settle_date, acc_payment_code, card_type, `status`, profit_sharing_status, ", |
|
|
|
"timeout_express, subject, pay_notify_url, attach, special_field, refund_type, ", |
|
|
|
"pay_time, timeout_express, subject, pay_notify_url, attach, special_field, refund_type, ", |
|
|
|
"refund_price, create_type, create_time, cancel_time, update_time, ext_1, ext_2, ", |
|
|
|
"refund_price, create_type, create_time, cancel_time, update_time, ext_1, ext_2, ", |
|
|
|
"ext_3", |
|
|
|
"ext_3", |
|
|
|
"from bs_trade_order", |
|
|
|
"from bs_trade_order", |
|
|
@ -255,6 +256,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
@Result(column="trade_actual_amount", property="tradeActualAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="trade_actual_amount", property="tradeActualAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="income_amount", property="incomeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="income_amount", property="incomeAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_trade_no", property="accTradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="acc_trade_no", property="accTradeNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="acc_settle_amount", property="accSettleAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_mdiscount_amount", property="accMdiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_mdiscount_amount", property="accMdiscountAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="acc_discount_amount", property="accDiscountAmount", 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="shd_fee_amt", property="shdFeeAmt", jdbcType=JdbcType.DECIMAL), |
|
|
@ -338,6 +340,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"trade_actual_amount = #{tradeActualAmount,jdbcType=DECIMAL},", |
|
|
|
"trade_actual_amount = #{tradeActualAmount,jdbcType=DECIMAL},", |
|
|
|
"income_amount = #{incomeAmount,jdbcType=DECIMAL},", |
|
|
|
"income_amount = #{incomeAmount,jdbcType=DECIMAL},", |
|
|
|
"acc_trade_no = #{accTradeNo,jdbcType=VARCHAR},", |
|
|
|
"acc_trade_no = #{accTradeNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"acc_settle_amount = #{accSettleAmount,jdbcType=DECIMAL},", |
|
|
|
"acc_mdiscount_amount = #{accMdiscountAmount,jdbcType=DECIMAL},", |
|
|
|
"acc_mdiscount_amount = #{accMdiscountAmount,jdbcType=DECIMAL},", |
|
|
|
"acc_discount_amount = #{accDiscountAmount,jdbcType=DECIMAL},", |
|
|
|
"acc_discount_amount = #{accDiscountAmount,jdbcType=DECIMAL},", |
|
|
|
"shd_fee_amt = #{shdFeeAmt,jdbcType=DECIMAL},", |
|
|
|
"shd_fee_amt = #{shdFeeAmt,jdbcType=DECIMAL},", |
|
|
|