胡锐 3 weeks ago
commit c54f51f453
  1. 23
      service/src/main/java/com/hfkj/dao/BsPartnerPoolMapper.java
  2. 16
      service/src/main/java/com/hfkj/dao/BsPartnerPoolPreMapper.java
  3. 28
      service/src/main/java/com/hfkj/dao/BsPartnerPoolPreSqlProvider.java
  4. 8
      service/src/main/java/com/hfkj/dao/BsPartnerPoolRecordMapper.java
  5. 8
      service/src/main/java/com/hfkj/dao/BsPartnerPoolRecordSqlProvider.java
  6. 14
      service/src/main/java/com/hfkj/dao/BsPartnerPoolSqlProvider.java
  7. 8
      service/src/main/java/com/hfkj/dao/BsPartnerUserRecordMapper.java
  8. 8
      service/src/main/java/com/hfkj/dao/BsPartnerUserRecordSqlProvider.java
  9. 16
      service/src/main/java/com/hfkj/entity/BsPartnerPool.java
  10. 60
      service/src/main/java/com/hfkj/entity/BsPartnerPoolExample.java
  11. 34
      service/src/main/java/com/hfkj/entity/BsPartnerPoolPre.java
  12. 130
      service/src/main/java/com/hfkj/entity/BsPartnerPoolPreExample.java
  13. 6
      service/src/main/java/com/hfkj/entity/BsPartnerPoolRecord.java
  14. 20
      service/src/main/java/com/hfkj/entity/BsPartnerPoolRecordExample.java
  15. 6
      service/src/main/java/com/hfkj/entity/BsPartnerUserRecord.java
  16. 20
      service/src/main/java/com/hfkj/entity/BsPartnerUserRecordExample.java

@ -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},",

@ -39,12 +39,14 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
@Insert({ @Insert({
"insert into bs_partner_pool_pre (`level`, num, ", "insert into bs_partner_pool_pre (`level`, lottery_no, ",
"num, campaign_no, ",
"gold_coin, user_id, ", "gold_coin, user_id, ",
"create_time, update_time, ", "create_time, update_time, ",
"`status`, ext_1, ext_2, ", "`status`, ext_1, ext_2, ",
"ext_3)", "ext_3)",
"values (#{level,jdbcType=INTEGER}, #{num,jdbcType=VARCHAR}, ", "values (#{level,jdbcType=INTEGER}, #{lotteryNo,jdbcType=VARCHAR}, ",
"#{num,jdbcType=VARCHAR}, #{campaignNo,jdbcType=INTEGER}, ",
"#{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=BIGINT}, ", "#{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=BIGINT}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ",
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", "#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ",
@ -61,7 +63,9 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
@Results({ @Results({
@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="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), @Result(column="num", property="num", jdbcType=JdbcType.VARCHAR),
@Result(column="campaign_no", property="campaignNo", 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,15 +79,17 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
@Select({ @Select({
"select", "select",
"id, `level`, num, gold_coin, user_id, create_time, update_time, `status`, ext_1, ", "id, `level`, lottery_no, num, campaign_no, gold_coin, user_id, create_time, ",
"ext_2, ext_3", "update_time, `status`, ext_1, ext_2, ext_3",
"from bs_partner_pool_pre", "from bs_partner_pool_pre",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
@Results({ @Results({
@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="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="num", property="num", jdbcType=JdbcType.VARCHAR), @Result(column="num", property="num", jdbcType=JdbcType.VARCHAR),
@Result(column="campaign_no", property="campaignNo", 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),
@ -107,7 +113,9 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
@Update({ @Update({
"update bs_partner_pool_pre", "update bs_partner_pool_pre",
"set `level` = #{level,jdbcType=INTEGER},", "set `level` = #{level,jdbcType=INTEGER},",
"lottery_no = #{lotteryNo,jdbcType=VARCHAR},",
"num = #{num,jdbcType=VARCHAR},", "num = #{num,jdbcType=VARCHAR},",
"campaign_no = #{campaignNo,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},",

@ -32,10 +32,18 @@ public class BsPartnerPoolPreSqlProvider {
sql.VALUES("`level`", "#{level,jdbcType=INTEGER}"); sql.VALUES("`level`", "#{level,jdbcType=INTEGER}");
} }
if (record.getLotteryNo() != null) {
sql.VALUES("lottery_no", "#{lotteryNo,jdbcType=VARCHAR}");
}
if (record.getNum() != null) { if (record.getNum() != null) {
sql.VALUES("num", "#{num,jdbcType=VARCHAR}"); sql.VALUES("num", "#{num,jdbcType=VARCHAR}");
} }
if (record.getCampaignNo() != null) {
sql.VALUES("campaign_no", "#{campaignNo,jdbcType=INTEGER}");
}
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
sql.VALUES("gold_coin", "#{goldCoin,jdbcType=DECIMAL}"); sql.VALUES("gold_coin", "#{goldCoin,jdbcType=DECIMAL}");
} }
@ -79,7 +87,9 @@ public class BsPartnerPoolPreSqlProvider {
sql.SELECT("id"); sql.SELECT("id");
} }
sql.SELECT("`level`"); sql.SELECT("`level`");
sql.SELECT("lottery_no");
sql.SELECT("num"); sql.SELECT("num");
sql.SELECT("campaign_no");
sql.SELECT("gold_coin"); sql.SELECT("gold_coin");
sql.SELECT("user_id"); sql.SELECT("user_id");
sql.SELECT("create_time"); sql.SELECT("create_time");
@ -113,10 +123,18 @@ public class BsPartnerPoolPreSqlProvider {
sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); sql.SET("`level` = #{record.level,jdbcType=INTEGER}");
} }
if (record.getLotteryNo() != null) {
sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}");
}
if (record.getNum() != null) { if (record.getNum() != null) {
sql.SET("num = #{record.num,jdbcType=VARCHAR}"); sql.SET("num = #{record.num,jdbcType=VARCHAR}");
} }
if (record.getCampaignNo() != null) {
sql.SET("campaign_no = #{record.campaignNo,jdbcType=INTEGER}");
}
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
} }
@ -159,7 +177,9 @@ public class BsPartnerPoolPreSqlProvider {
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); sql.SET("`level` = #{record.level,jdbcType=INTEGER}");
sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}");
sql.SET("num = #{record.num,jdbcType=VARCHAR}"); sql.SET("num = #{record.num,jdbcType=VARCHAR}");
sql.SET("campaign_no = #{record.campaignNo,jdbcType=INTEGER}");
sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
@ -182,10 +202,18 @@ public class BsPartnerPoolPreSqlProvider {
sql.SET("`level` = #{level,jdbcType=INTEGER}"); sql.SET("`level` = #{level,jdbcType=INTEGER}");
} }
if (record.getLotteryNo() != null) {
sql.SET("lottery_no = #{lotteryNo,jdbcType=VARCHAR}");
}
if (record.getNum() != null) { if (record.getNum() != null) {
sql.SET("num = #{num,jdbcType=VARCHAR}"); sql.SET("num = #{num,jdbcType=VARCHAR}");
} }
if (record.getCampaignNo() != null) {
sql.SET("campaign_no = #{campaignNo,jdbcType=INTEGER}");
}
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
sql.SET("gold_coin = #{goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{goldCoin,jdbcType=DECIMAL}");
} }

@ -43,7 +43,7 @@ public interface BsPartnerPoolRecordMapper extends BsPartnerPoolRecordMapperExt
"gold_coin, create_time, ", "gold_coin, create_time, ",
"update_time, `status`, ", "update_time, `status`, ",
"ext_1, ext_2, ext_3)", "ext_1, ext_2, ext_3)",
"values (#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=INTEGER}, ", "values (#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=TIMESTAMP}, ",
"#{goldCoin,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ", "#{goldCoin,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", "#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" "#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
@ -59,7 +59,7 @@ public interface BsPartnerPoolRecordMapper extends BsPartnerPoolRecordMapperExt
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true),
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), @Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.INTEGER), @Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), @Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@ -80,7 +80,7 @@ public interface BsPartnerPoolRecordMapper extends BsPartnerPoolRecordMapperExt
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true),
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), @Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.INTEGER), @Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), @Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@ -103,7 +103,7 @@ public interface BsPartnerPoolRecordMapper extends BsPartnerPoolRecordMapperExt
@Update({ @Update({
"update bs_partner_pool_record", "update bs_partner_pool_record",
"set lottery_no = #{lotteryNo,jdbcType=VARCHAR},", "set lottery_no = #{lotteryNo,jdbcType=VARCHAR},",
"lottery_time = #{lotteryTime,jdbcType=INTEGER},", "lottery_time = #{lotteryTime,jdbcType=TIMESTAMP},",
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", "gold_coin = #{goldCoin,jdbcType=DECIMAL},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},",

@ -33,7 +33,7 @@ public class BsPartnerPoolRecordSqlProvider {
} }
if (record.getLotteryTime() != null) { if (record.getLotteryTime() != null) {
sql.VALUES("lottery_time", "#{lotteryTime,jdbcType=INTEGER}"); sql.VALUES("lottery_time", "#{lotteryTime,jdbcType=TIMESTAMP}");
} }
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
@ -109,7 +109,7 @@ public class BsPartnerPoolRecordSqlProvider {
} }
if (record.getLotteryTime() != null) { if (record.getLotteryTime() != null) {
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=INTEGER}"); sql.SET("lottery_time = #{record.lotteryTime,jdbcType=TIMESTAMP}");
} }
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
@ -150,7 +150,7 @@ public class BsPartnerPoolRecordSqlProvider {
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}"); sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}");
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=INTEGER}"); sql.SET("lottery_time = #{record.lotteryTime,jdbcType=TIMESTAMP}");
sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}");
@ -173,7 +173,7 @@ public class BsPartnerPoolRecordSqlProvider {
} }
if (record.getLotteryTime() != null) { if (record.getLotteryTime() != null) {
sql.SET("lottery_time = #{lotteryTime,jdbcType=INTEGER}"); sql.SET("lottery_time = #{lotteryTime,jdbcType=TIMESTAMP}");
} }
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {

@ -36,6 +36,10 @@ public class BsPartnerPoolSqlProvider {
sql.VALUES("num", "#{num,jdbcType=VARCHAR}"); sql.VALUES("num", "#{num,jdbcType=VARCHAR}");
} }
if (record.getNumNo() != null) {
sql.VALUES("num_no", "#{numNo,jdbcType=INTEGER}");
}
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
sql.VALUES("gold_coin", "#{goldCoin,jdbcType=DECIMAL}"); sql.VALUES("gold_coin", "#{goldCoin,jdbcType=DECIMAL}");
} }
@ -80,6 +84,7 @@ public class BsPartnerPoolSqlProvider {
} }
sql.SELECT("`level`"); sql.SELECT("`level`");
sql.SELECT("num"); sql.SELECT("num");
sql.SELECT("num_no");
sql.SELECT("gold_coin"); sql.SELECT("gold_coin");
sql.SELECT("user_id"); sql.SELECT("user_id");
sql.SELECT("create_time"); sql.SELECT("create_time");
@ -117,6 +122,10 @@ public class BsPartnerPoolSqlProvider {
sql.SET("num = #{record.num,jdbcType=VARCHAR}"); sql.SET("num = #{record.num,jdbcType=VARCHAR}");
} }
if (record.getNumNo() != null) {
sql.SET("num_no = #{record.numNo,jdbcType=INTEGER}");
}
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
} }
@ -160,6 +169,7 @@ public class BsPartnerPoolSqlProvider {
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); sql.SET("`level` = #{record.level,jdbcType=INTEGER}");
sql.SET("num = #{record.num,jdbcType=VARCHAR}"); sql.SET("num = #{record.num,jdbcType=VARCHAR}");
sql.SET("num_no = #{record.numNo,jdbcType=INTEGER}");
sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
@ -186,6 +196,10 @@ public class BsPartnerPoolSqlProvider {
sql.SET("num = #{num,jdbcType=VARCHAR}"); sql.SET("num = #{num,jdbcType=VARCHAR}");
} }
if (record.getNumNo() != null) {
sql.SET("num_no = #{numNo,jdbcType=INTEGER}");
}
if (record.getGoldCoin() != null) { if (record.getGoldCoin() != null) {
sql.SET("gold_coin = #{goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{goldCoin,jdbcType=DECIMAL}");
} }

@ -46,7 +46,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
"update_time, `status`, ", "update_time, `status`, ",
"ext_1, ext_2, ext_3)", "ext_1, ext_2, ext_3)",
"values (#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", "values (#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ",
"#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=INTEGER}, ", "#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=TIMESTAMP}, ",
"#{type,jdbcType=INTEGER}, #{level,jdbcType=INTEGER}, #{proportion,jdbcType=DECIMAL}, ", "#{type,jdbcType=INTEGER}, #{level,jdbcType=INTEGER}, #{proportion,jdbcType=DECIMAL}, ",
"#{goldCoin,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ", "#{goldCoin,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", "#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ",
@ -65,7 +65,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT),
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), @Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), @Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.INTEGER), @Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), @Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), @Result(column="level", property="level", jdbcType=JdbcType.INTEGER),
@Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL), @Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL),
@ -91,7 +91,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT),
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), @Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), @Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR),
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.INTEGER), @Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), @Result(column="type", property="type", jdbcType=JdbcType.INTEGER),
@Result(column="level", property="level", jdbcType=JdbcType.INTEGER), @Result(column="level", property="level", jdbcType=JdbcType.INTEGER),
@Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL), @Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL),
@ -119,7 +119,7 @@ public interface BsPartnerUserRecordMapper extends BsPartnerUserRecordMapperExt
"set user_id = #{userId,jdbcType=BIGINT},", "set user_id = #{userId,jdbcType=BIGINT},",
"user_name = #{userName,jdbcType=VARCHAR},", "user_name = #{userName,jdbcType=VARCHAR},",
"lottery_no = #{lotteryNo,jdbcType=VARCHAR},", "lottery_no = #{lotteryNo,jdbcType=VARCHAR},",
"lottery_time = #{lotteryTime,jdbcType=INTEGER},", "lottery_time = #{lotteryTime,jdbcType=TIMESTAMP},",
"`type` = #{type,jdbcType=INTEGER},", "`type` = #{type,jdbcType=INTEGER},",
"`level` = #{level,jdbcType=INTEGER},", "`level` = #{level,jdbcType=INTEGER},",
"proportion = #{proportion,jdbcType=DECIMAL},", "proportion = #{proportion,jdbcType=DECIMAL},",

@ -41,7 +41,7 @@ public class BsPartnerUserRecordSqlProvider {
} }
if (record.getLotteryTime() != null) { if (record.getLotteryTime() != null) {
sql.VALUES("lottery_time", "#{lotteryTime,jdbcType=INTEGER}"); sql.VALUES("lottery_time", "#{lotteryTime,jdbcType=TIMESTAMP}");
} }
if (record.getType() != null) { if (record.getType() != null) {
@ -142,7 +142,7 @@ public class BsPartnerUserRecordSqlProvider {
} }
if (record.getLotteryTime() != null) { if (record.getLotteryTime() != null) {
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=INTEGER}"); sql.SET("lottery_time = #{record.lotteryTime,jdbcType=TIMESTAMP}");
} }
if (record.getType() != null) { if (record.getType() != null) {
@ -197,7 +197,7 @@ public class BsPartnerUserRecordSqlProvider {
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}"); sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}");
sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}"); sql.SET("lottery_no = #{record.lotteryNo,jdbcType=VARCHAR}");
sql.SET("lottery_time = #{record.lotteryTime,jdbcType=INTEGER}"); sql.SET("lottery_time = #{record.lotteryTime,jdbcType=TIMESTAMP}");
sql.SET("`type` = #{record.type,jdbcType=INTEGER}"); sql.SET("`type` = #{record.type,jdbcType=INTEGER}");
sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); sql.SET("`level` = #{record.level,jdbcType=INTEGER}");
sql.SET("proportion = #{record.proportion,jdbcType=DECIMAL}"); sql.SET("proportion = #{record.proportion,jdbcType=DECIMAL}");
@ -231,7 +231,7 @@ public class BsPartnerUserRecordSqlProvider {
} }
if (record.getLotteryTime() != null) { if (record.getLotteryTime() != null) {
sql.SET("lottery_time = #{lotteryTime,jdbcType=INTEGER}"); sql.SET("lottery_time = #{lotteryTime,jdbcType=TIMESTAMP}");
} }
if (record.getType() != null) { if (record.getType() != null) {

@ -29,6 +29,11 @@ public class BsPartnerPool implements Serializable {
*/ */
private String num; private String num;
/**
* 编号
*/
private Integer numNo;
/** /**
* 竞选元宝 * 竞选元宝
*/ */
@ -95,6 +100,14 @@ public class BsPartnerPool implements Serializable {
this.num = num; this.num = num;
} }
public Integer getNumNo() {
return numNo;
}
public void setNumNo(Integer numNo) {
this.numNo = numNo;
}
public BigDecimal getGoldCoin() { public BigDecimal getGoldCoin() {
return goldCoin; return goldCoin;
} }
@ -174,6 +187,7 @@ public class BsPartnerPool implements Serializable {
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel())) && (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum())) && (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
&& (this.getNumNo() == null ? other.getNumNo() == null : this.getNumNo().equals(other.getNumNo()))
&& (this.getGoldCoin() == null ? other.getGoldCoin() == null : this.getGoldCoin().equals(other.getGoldCoin())) && (this.getGoldCoin() == null ? other.getGoldCoin() == null : this.getGoldCoin().equals(other.getGoldCoin()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
@ -191,6 +205,7 @@ public class BsPartnerPool implements Serializable {
result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode()); result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode()); result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
result = prime * result + ((getNumNo() == null) ? 0 : getNumNo().hashCode());
result = prime * result + ((getGoldCoin() == null) ? 0 : getGoldCoin().hashCode()); result = prime * result + ((getGoldCoin() == null) ? 0 : getGoldCoin().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
@ -211,6 +226,7 @@ public class BsPartnerPool implements Serializable {
sb.append(", id=").append(id); sb.append(", id=").append(id);
sb.append(", level=").append(level); sb.append(", level=").append(level);
sb.append(", num=").append(num); sb.append(", num=").append(num);
sb.append(", numNo=").append(numNo);
sb.append(", goldCoin=").append(goldCoin); sb.append(", goldCoin=").append(goldCoin);
sb.append(", userId=").append(userId); sb.append(", userId=").append(userId);
sb.append(", createTime=").append(createTime); sb.append(", createTime=").append(createTime);

@ -316,6 +316,66 @@ public class BsPartnerPoolExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andNumNoIsNull() {
addCriterion("num_no is null");
return (Criteria) this;
}
public Criteria andNumNoIsNotNull() {
addCriterion("num_no is not null");
return (Criteria) this;
}
public Criteria andNumNoEqualTo(Integer value) {
addCriterion("num_no =", value, "numNo");
return (Criteria) this;
}
public Criteria andNumNoNotEqualTo(Integer value) {
addCriterion("num_no <>", value, "numNo");
return (Criteria) this;
}
public Criteria andNumNoGreaterThan(Integer value) {
addCriterion("num_no >", value, "numNo");
return (Criteria) this;
}
public Criteria andNumNoGreaterThanOrEqualTo(Integer value) {
addCriterion("num_no >=", value, "numNo");
return (Criteria) this;
}
public Criteria andNumNoLessThan(Integer value) {
addCriterion("num_no <", value, "numNo");
return (Criteria) this;
}
public Criteria andNumNoLessThanOrEqualTo(Integer value) {
addCriterion("num_no <=", value, "numNo");
return (Criteria) this;
}
public Criteria andNumNoIn(List<Integer> values) {
addCriterion("num_no in", values, "numNo");
return (Criteria) this;
}
public Criteria andNumNoNotIn(List<Integer> values) {
addCriterion("num_no not in", values, "numNo");
return (Criteria) this;
}
public Criteria andNumNoBetween(Integer value1, Integer value2) {
addCriterion("num_no between", value1, value2, "numNo");
return (Criteria) this;
}
public Criteria andNumNoNotBetween(Integer value1, Integer value2) {
addCriterion("num_no not between", value1, value2, "numNo");
return (Criteria) this;
}
public Criteria andGoldCoinIsNull() { public Criteria andGoldCoinIsNull() {
addCriterion("gold_coin is null"); addCriterion("gold_coin is null");
return (Criteria) this; return (Criteria) this;

@ -24,11 +24,21 @@ public class BsPartnerPoolPre implements Serializable {
*/ */
private Integer level; private Integer level;
/**
* 期号
*/
private String lotteryNo;
/** /**
* 编号 * 编号
*/ */
private String num; private String num;
/**
* 编号
*/
private Integer campaignNo;
/** /**
* 竞选元宝 * 竞选元宝
*/ */
@ -50,7 +60,7 @@ public class BsPartnerPoolPre implements Serializable {
private Date updateTime; private Date updateTime;
/** /**
* 状态 1:等待竞选 2:竞选结束 已回退元宝 3: 竞选结束 元宝退回失败 * 状态 1:等待竞选 2:竞选成功 3: 竞选失败
*/ */
private Integer status; private Integer status;
@ -87,6 +97,14 @@ public class BsPartnerPoolPre implements Serializable {
this.level = level; this.level = level;
} }
public String getLotteryNo() {
return lotteryNo;
}
public void setLotteryNo(String lotteryNo) {
this.lotteryNo = lotteryNo;
}
public String getNum() { public String getNum() {
return num; return num;
} }
@ -95,6 +113,14 @@ public class BsPartnerPoolPre implements Serializable {
this.num = num; this.num = num;
} }
public Integer getCampaignNo() {
return campaignNo;
}
public void setCampaignNo(Integer campaignNo) {
this.campaignNo = campaignNo;
}
public BigDecimal getGoldCoin() { public BigDecimal getGoldCoin() {
return goldCoin; return goldCoin;
} }
@ -173,7 +199,9 @@ public class BsPartnerPoolPre implements Serializable {
BsPartnerPoolPre other = (BsPartnerPoolPre) that; BsPartnerPoolPre other = (BsPartnerPoolPre) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel())) && (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getLotteryNo() == null ? other.getLotteryNo() == null : this.getLotteryNo().equals(other.getLotteryNo()))
&& (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum())) && (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
&& (this.getCampaignNo() == null ? other.getCampaignNo() == null : this.getCampaignNo().equals(other.getCampaignNo()))
&& (this.getGoldCoin() == null ? other.getGoldCoin() == null : this.getGoldCoin().equals(other.getGoldCoin())) && (this.getGoldCoin() == null ? other.getGoldCoin() == null : this.getGoldCoin().equals(other.getGoldCoin()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
@ -190,7 +218,9 @@ public class BsPartnerPoolPre implements Serializable {
int result = 1; int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode()); result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode());
result = prime * result + ((getLotteryNo() == null) ? 0 : getLotteryNo().hashCode());
result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode()); result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
result = prime * result + ((getCampaignNo() == null) ? 0 : getCampaignNo().hashCode());
result = prime * result + ((getGoldCoin() == null) ? 0 : getGoldCoin().hashCode()); result = prime * result + ((getGoldCoin() == null) ? 0 : getGoldCoin().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
@ -210,7 +240,9 @@ public class BsPartnerPoolPre implements Serializable {
sb.append("Hash = ").append(hashCode()); sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id); sb.append(", id=").append(id);
sb.append(", level=").append(level); sb.append(", level=").append(level);
sb.append(", lotteryNo=").append(lotteryNo);
sb.append(", num=").append(num); sb.append(", num=").append(num);
sb.append(", campaignNo=").append(campaignNo);
sb.append(", goldCoin=").append(goldCoin); sb.append(", goldCoin=").append(goldCoin);
sb.append(", userId=").append(userId); sb.append(", userId=").append(userId);
sb.append(", createTime=").append(createTime); sb.append(", createTime=").append(createTime);

@ -246,6 +246,76 @@ public class BsPartnerPoolPreExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryNoIsNull() {
addCriterion("lottery_no is null");
return (Criteria) this;
}
public Criteria andLotteryNoIsNotNull() {
addCriterion("lottery_no is not null");
return (Criteria) this;
}
public Criteria andLotteryNoEqualTo(String value) {
addCriterion("lottery_no =", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoNotEqualTo(String value) {
addCriterion("lottery_no <>", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoGreaterThan(String value) {
addCriterion("lottery_no >", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoGreaterThanOrEqualTo(String value) {
addCriterion("lottery_no >=", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoLessThan(String value) {
addCriterion("lottery_no <", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoLessThanOrEqualTo(String value) {
addCriterion("lottery_no <=", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoLike(String value) {
addCriterion("lottery_no like", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoNotLike(String value) {
addCriterion("lottery_no not like", value, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoIn(List<String> values) {
addCriterion("lottery_no in", values, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoNotIn(List<String> values) {
addCriterion("lottery_no not in", values, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoBetween(String value1, String value2) {
addCriterion("lottery_no between", value1, value2, "lotteryNo");
return (Criteria) this;
}
public Criteria andLotteryNoNotBetween(String value1, String value2) {
addCriterion("lottery_no not between", value1, value2, "lotteryNo");
return (Criteria) this;
}
public Criteria andNumIsNull() { public Criteria andNumIsNull() {
addCriterion("num is null"); addCriterion("num is null");
return (Criteria) this; return (Criteria) this;
@ -316,6 +386,66 @@ public class BsPartnerPoolPreExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCampaignNoIsNull() {
addCriterion("campaign_no is null");
return (Criteria) this;
}
public Criteria andCampaignNoIsNotNull() {
addCriterion("campaign_no is not null");
return (Criteria) this;
}
public Criteria andCampaignNoEqualTo(Integer value) {
addCriterion("campaign_no =", value, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoNotEqualTo(Integer value) {
addCriterion("campaign_no <>", value, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoGreaterThan(Integer value) {
addCriterion("campaign_no >", value, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoGreaterThanOrEqualTo(Integer value) {
addCriterion("campaign_no >=", value, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoLessThan(Integer value) {
addCriterion("campaign_no <", value, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoLessThanOrEqualTo(Integer value) {
addCriterion("campaign_no <=", value, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoIn(List<Integer> values) {
addCriterion("campaign_no in", values, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoNotIn(List<Integer> values) {
addCriterion("campaign_no not in", values, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoBetween(Integer value1, Integer value2) {
addCriterion("campaign_no between", value1, value2, "campaignNo");
return (Criteria) this;
}
public Criteria andCampaignNoNotBetween(Integer value1, Integer value2) {
addCriterion("campaign_no not between", value1, value2, "campaignNo");
return (Criteria) this;
}
public Criteria andGoldCoinIsNull() { public Criteria andGoldCoinIsNull() {
addCriterion("gold_coin is null"); addCriterion("gold_coin is null");
return (Criteria) this; return (Criteria) this;

@ -27,7 +27,7 @@ public class BsPartnerPoolRecord implements Serializable {
/** /**
* 开奖时间 * 开奖时间
*/ */
private Integer lotteryTime; private Date lotteryTime;
/** /**
* 竞选元宝总数 * 竞选元宝总数
@ -82,11 +82,11 @@ public class BsPartnerPoolRecord implements Serializable {
this.lotteryNo = lotteryNo; this.lotteryNo = lotteryNo;
} }
public Integer getLotteryTime() { public Date getLotteryTime() {
return lotteryTime; return lotteryTime;
} }
public void setLotteryTime(Integer lotteryTime) { public void setLotteryTime(Date lotteryTime) {
this.lotteryTime = lotteryTime; this.lotteryTime = lotteryTime;
} }

@ -266,52 +266,52 @@ public class BsPartnerPoolRecordExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeEqualTo(Integer value) { public Criteria andLotteryTimeEqualTo(Date value) {
addCriterion("lottery_time =", value, "lotteryTime"); addCriterion("lottery_time =", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeNotEqualTo(Integer value) { public Criteria andLotteryTimeNotEqualTo(Date value) {
addCriterion("lottery_time <>", value, "lotteryTime"); addCriterion("lottery_time <>", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeGreaterThan(Integer value) { public Criteria andLotteryTimeGreaterThan(Date value) {
addCriterion("lottery_time >", value, "lotteryTime"); addCriterion("lottery_time >", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeGreaterThanOrEqualTo(Integer value) { public Criteria andLotteryTimeGreaterThanOrEqualTo(Date value) {
addCriterion("lottery_time >=", value, "lotteryTime"); addCriterion("lottery_time >=", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeLessThan(Integer value) { public Criteria andLotteryTimeLessThan(Date value) {
addCriterion("lottery_time <", value, "lotteryTime"); addCriterion("lottery_time <", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeLessThanOrEqualTo(Integer value) { public Criteria andLotteryTimeLessThanOrEqualTo(Date value) {
addCriterion("lottery_time <=", value, "lotteryTime"); addCriterion("lottery_time <=", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeIn(List<Integer> values) { public Criteria andLotteryTimeIn(List<Date> values) {
addCriterion("lottery_time in", values, "lotteryTime"); addCriterion("lottery_time in", values, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeNotIn(List<Integer> values) { public Criteria andLotteryTimeNotIn(List<Date> values) {
addCriterion("lottery_time not in", values, "lotteryTime"); addCriterion("lottery_time not in", values, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeBetween(Integer value1, Integer value2) { public Criteria andLotteryTimeBetween(Date value1, Date value2) {
addCriterion("lottery_time between", value1, value2, "lotteryTime"); addCriterion("lottery_time between", value1, value2, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeNotBetween(Integer value1, Integer value2) { public Criteria andLotteryTimeNotBetween(Date value1, Date value2) {
addCriterion("lottery_time not between", value1, value2, "lotteryTime"); addCriterion("lottery_time not between", value1, value2, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }

@ -37,7 +37,7 @@ public class BsPartnerUserRecord implements Serializable {
/** /**
* 开奖时间 * 开奖时间
*/ */
private Integer lotteryTime; private Date lotteryTime;
/** /**
* 分红类型10点合伙人 等级分红 2奖励原合伙人 * 分红类型10点合伙人 等级分红 2奖励原合伙人
@ -123,11 +123,11 @@ public class BsPartnerUserRecord implements Serializable {
this.lotteryNo = lotteryNo; this.lotteryNo = lotteryNo;
} }
public Integer getLotteryTime() { public Date getLotteryTime() {
return lotteryTime; return lotteryTime;
} }
public void setLotteryTime(Integer lotteryTime) { public void setLotteryTime(Date lotteryTime) {
this.lotteryTime = lotteryTime; this.lotteryTime = lotteryTime;
} }

@ -396,52 +396,52 @@ public class BsPartnerUserRecordExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeEqualTo(Integer value) { public Criteria andLotteryTimeEqualTo(Date value) {
addCriterion("lottery_time =", value, "lotteryTime"); addCriterion("lottery_time =", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeNotEqualTo(Integer value) { public Criteria andLotteryTimeNotEqualTo(Date value) {
addCriterion("lottery_time <>", value, "lotteryTime"); addCriterion("lottery_time <>", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeGreaterThan(Integer value) { public Criteria andLotteryTimeGreaterThan(Date value) {
addCriterion("lottery_time >", value, "lotteryTime"); addCriterion("lottery_time >", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeGreaterThanOrEqualTo(Integer value) { public Criteria andLotteryTimeGreaterThanOrEqualTo(Date value) {
addCriterion("lottery_time >=", value, "lotteryTime"); addCriterion("lottery_time >=", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeLessThan(Integer value) { public Criteria andLotteryTimeLessThan(Date value) {
addCriterion("lottery_time <", value, "lotteryTime"); addCriterion("lottery_time <", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeLessThanOrEqualTo(Integer value) { public Criteria andLotteryTimeLessThanOrEqualTo(Date value) {
addCriterion("lottery_time <=", value, "lotteryTime"); addCriterion("lottery_time <=", value, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeIn(List<Integer> values) { public Criteria andLotteryTimeIn(List<Date> values) {
addCriterion("lottery_time in", values, "lotteryTime"); addCriterion("lottery_time in", values, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeNotIn(List<Integer> values) { public Criteria andLotteryTimeNotIn(List<Date> values) {
addCriterion("lottery_time not in", values, "lotteryTime"); addCriterion("lottery_time not in", values, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeBetween(Integer value1, Integer value2) { public Criteria andLotteryTimeBetween(Date value1, Date value2) {
addCriterion("lottery_time between", value1, value2, "lotteryTime"); addCriterion("lottery_time between", value1, value2, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andLotteryTimeNotBetween(Integer value1, Integer value2) { public Criteria andLotteryTimeNotBetween(Date value1, Date value2) {
addCriterion("lottery_time not between", value1, value2, "lotteryTime"); addCriterion("lottery_time not between", value1, value2, "lotteryTime");
return (Criteria) this; return (Criteria) this;
} }

Loading…
Cancel
Save