|
|
|
@ -44,17 +44,17 @@ public interface BsRebateMerAccountOrderMapper extends BsRebateMerAccountOrderMa |
|
|
|
|
"mer_abbreviate, order_type, ", |
|
|
|
|
"order_no, trade_price, ", |
|
|
|
|
"pay_type, pay_serial_no, ", |
|
|
|
|
"pay_time, `status`, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{accountNumber,jdbcType=BIGINT}, #{merId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{merNo,jdbcType=VARCHAR}, #{merName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{merAbbreviate,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{tradePrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payType,jdbcType=VARCHAR}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsRebateMerAccountOrder record); |
|
|
|
@ -76,9 +76,10 @@ public interface BsRebateMerAccountOrderMapper extends BsRebateMerAccountOrderMa |
|
|
|
|
@Result(column="trade_price", property="tradePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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) |
|
|
|
@ -88,8 +89,8 @@ public interface BsRebateMerAccountOrderMapper extends BsRebateMerAccountOrderMa |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, account_number, mer_id, mer_no, mer_name, mer_abbreviate, order_type, order_no, ", |
|
|
|
|
"trade_price, pay_type, pay_serial_no, create_time, update_time, `status`, ext_1, ", |
|
|
|
|
"ext_2, ext_3", |
|
|
|
|
"trade_price, pay_type, pay_serial_no, pay_time, `status`, create_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_rebate_mer_account_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -105,9 +106,10 @@ public interface BsRebateMerAccountOrderMapper extends BsRebateMerAccountOrderMa |
|
|
|
|
@Result(column="trade_price", property="tradePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@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) |
|
|
|
@ -135,9 +137,10 @@ public interface BsRebateMerAccountOrderMapper extends BsRebateMerAccountOrderMa |
|
|
|
|
"trade_price = #{tradePrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_type = #{payType,jdbcType=VARCHAR},", |
|
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|