|
|
|
@ -72,7 +72,8 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"refund_type, refund_price, ", |
|
|
|
|
"create_type, create_time, ", |
|
|
|
|
"cancel_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"request_ip, 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}, #{merAbbreviate,jdbcType=VARCHAR}, ", |
|
|
|
@ -106,7 +107,8 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"#{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})" |
|
|
|
|
"#{requestIp,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsTradeOrder record); |
|
|
|
@ -186,6 +188,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="request_ip", property="requestIp", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
@ -206,8 +209,8 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"acc_settle_amount, 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, special_field, refund_type, ", |
|
|
|
|
"refund_price, create_type, create_time, cancel_time, update_time, ext_1, ext_2, ", |
|
|
|
|
"ext_3", |
|
|
|
|
"refund_price, create_type, create_time, cancel_time, update_time, request_ip, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_trade_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -281,6 +284,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="request_ip", property="requestIp", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
@ -366,6 +370,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"request_ip = #{requestIp,jdbcType=VARCHAR},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|