|
|
|
@ -40,12 +40,12 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into bs_partner_pool_pre (`level`, lottery_no, ", |
|
|
|
|
"gold_coin, user_id, ", |
|
|
|
|
"num, gold_coin, user_id, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"values (#{level,jdbcType=INTEGER}, #{lotteryNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{num,jdbcType=VARCHAR}, #{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
@ -62,6 +62,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -75,8 +76,8 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, `level`, lottery_no, gold_coin, user_id, create_time, update_time, `status`, ", |
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
|
"id, `level`, lottery_no, num, gold_coin, user_id, create_time, update_time, ", |
|
|
|
|
"`status`, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_partner_pool_pre", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -84,6 +85,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -108,6 +110,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { |
|
|
|
|
"update bs_partner_pool_pre", |
|
|
|
|
"set `level` = #{level,jdbcType=INTEGER},", |
|
|
|
|
"lottery_no = #{lotteryNo,jdbcType=VARCHAR},", |
|
|
|
|
"num = #{num,jdbcType=VARCHAR},", |
|
|
|
|
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", |
|
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|