|
|
|
@ -68,10 +68,11 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"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)", |
|
|
|
|
"special_field, refund_type, ", |
|
|
|
|
"refund_price, create_type, ", |
|
|
|
|
"create_time, cancel_time, ", |
|
|
|
|
"update_time, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{agentId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{salesmanId,jdbcType=BIGINT}, #{salesmanName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{merNo,jdbcType=VARCHAR}, ", |
|
|
|
@ -101,10 +102,11 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"#{profitSharingStatus,jdbcType=BIT}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{timeoutExpress,jdbcType=INTEGER}, #{subject,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}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{specialField,jdbcType=VARCHAR}, #{refundType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{createType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsTradeOrder record); |
|
|
|
@ -175,6 +177,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="special_field", property="specialField", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -200,8 +203,9 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"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, ", |
|
|
|
|
"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", |
|
|
|
|
"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, ", |
|
|
|
|
"ext_3", |
|
|
|
|
"from bs_trade_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -266,6 +270,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="special_field", property="specialField", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -348,6 +353,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"subject = #{subject,jdbcType=VARCHAR},", |
|
|
|
|
"pay_notify_url = #{payNotifyUrl,jdbcType=VARCHAR},", |
|
|
|
|
"attach = #{attach,jdbcType=VARCHAR},", |
|
|
|
|
"special_field = #{specialField,jdbcType=VARCHAR},", |
|
|
|
|
"refund_type = #{refundType,jdbcType=INTEGER},", |
|
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
|
"create_type = #{createType,jdbcType=INTEGER},", |
|
|
|
|