|
|
@ -40,15 +40,15 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into bs_partner_pool (`level`, num, ", |
|
|
|
"insert into bs_partner_pool (`level`, num, ", |
|
|
|
"gold_coin, user_id, ", |
|
|
|
"num_no, gold_coin, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"user_id, create_time, ", |
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
"update_time, `status`, ", |
|
|
|
"ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{level,jdbcType=INTEGER}, #{num,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{level,jdbcType=INTEGER}, #{num,jdbcType=VARCHAR}, ", |
|
|
|
"#{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
"#{numNo,jdbcType=INTEGER}, #{goldCoin,jdbcType=DECIMAL}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(BsPartnerPool record); |
|
|
|
int insert(BsPartnerPool record); |
|
|
@ -62,6 +62,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="num_no", property="numNo", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -75,8 +76,8 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, `level`, num, gold_coin, user_id, create_time, update_time, `status`, ext_1, ", |
|
|
|
"id, `level`, num, num_no, gold_coin, user_id, create_time, update_time, `status`, ", |
|
|
|
"ext_2, ext_3", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"from bs_partner_pool", |
|
|
|
"from bs_partner_pool", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -84,6 +85,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="num_no", property="numNo", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -108,6 +110,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { |
|
|
|
"update bs_partner_pool", |
|
|
|
"update bs_partner_pool", |
|
|
|
"set `level` = #{level,jdbcType=INTEGER},", |
|
|
|
"set `level` = #{level,jdbcType=INTEGER},", |
|
|
|
"num = #{num,jdbcType=VARCHAR},", |
|
|
|
"num = #{num,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"num_no = #{numNo,jdbcType=INTEGER},", |
|
|
|
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", |
|
|
|
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", |
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|