|
|
|
@ -43,7 +43,7 @@ public interface BsRebateTransferCycleMapper extends BsRebateTransferCycleMapper |
|
|
|
|
"end_time, `status`, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{batchIdentifier,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"values (#{batchIdentifier,jdbcType=BIGINT}, #{startTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
@ -58,7 +58,7 @@ public interface BsRebateTransferCycleMapper extends BsRebateTransferCycleMapper |
|
|
|
|
@SelectProvider(type=BsRebateTransferCycleSqlProvider.class, method="selectByExample") |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="batch_identifier", property="batchIdentifier", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="batch_identifier", property="batchIdentifier", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="start_time", property="startTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="end_time", property="endTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -79,7 +79,7 @@ public interface BsRebateTransferCycleMapper extends BsRebateTransferCycleMapper |
|
|
|
|
}) |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="batch_identifier", property="batchIdentifier", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="batch_identifier", property="batchIdentifier", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="start_time", property="startTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="end_time", property="endTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -102,7 +102,7 @@ public interface BsRebateTransferCycleMapper extends BsRebateTransferCycleMapper |
|
|
|
|
|
|
|
|
|
@Update({ |
|
|
|
|
"update bs_rebate_transfer_cycle", |
|
|
|
|
"set batch_identifier = #{batchIdentifier,jdbcType=VARCHAR},", |
|
|
|
|
"set batch_identifier = #{batchIdentifier,jdbcType=BIGINT},", |
|
|
|
|
"start_time = #{startTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"end_time = #{endTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|