|
|
@ -70,10 +70,10 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"subject, pay_notify_url, ", |
|
|
|
"subject, pay_notify_url, ", |
|
|
|
"attach, special_field, ", |
|
|
|
"attach, special_field, ", |
|
|
|
"refund_type, refund_price, ", |
|
|
|
"refund_type, refund_price, ", |
|
|
|
"create_type, create_time, ", |
|
|
|
"create_type, trans_type, ", |
|
|
|
"cancel_time, update_time, ", |
|
|
|
"create_time, cancel_time, ", |
|
|
|
"request_ip, ext_1, ", |
|
|
|
"update_time, request_ip, ", |
|
|
|
"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}, #{merAbbreviate,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{merAbbreviate,jdbcType=VARCHAR}, ", |
|
|
@ -105,10 +105,10 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"#{subject,jdbcType=VARCHAR}, #{payNotifyUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{subject,jdbcType=VARCHAR}, #{payNotifyUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{attach,jdbcType=VARCHAR}, #{specialField,jdbcType=VARCHAR}, ", |
|
|
|
"#{attach,jdbcType=VARCHAR}, #{specialField,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundType,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{refundType,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{createType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createType,jdbcType=INTEGER}, #{transType,jdbcType=VARCHAR}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{requestIp,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{requestIp,jdbcType=VARCHAR}, ", |
|
|
|
"#{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); |
|
|
@ -185,6 +185,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="trans_type", property="transType", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -209,8 +210,8 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"acc_settle_amount, acc_mdiscount_amount, acc_discount_amount, shd_fee_amt, fee_rate, ", |
|
|
|
"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, ", |
|
|
|
"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, ", |
|
|
|
"pay_time, timeout_express, subject, pay_notify_url, attach, special_field, refund_type, ", |
|
|
|
"refund_price, create_type, create_time, cancel_time, update_time, request_ip, ", |
|
|
|
"refund_price, create_type, trans_type, create_time, cancel_time, update_time, ", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"request_ip, ext_1, ext_2, ext_3", |
|
|
|
"from bs_trade_order", |
|
|
|
"from bs_trade_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -281,6 +282,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="trans_type", property="transType", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -367,6 +369,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt { |
|
|
|
"refund_type = #{refundType,jdbcType=INTEGER},", |
|
|
|
"refund_type = #{refundType,jdbcType=INTEGER},", |
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
"create_type = #{createType,jdbcType=INTEGER},", |
|
|
|
"create_type = #{createType,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"trans_type = #{transType,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|