袁野 3 weeks ago
parent b7c36f63e2
commit 359c410d95
  1. 8
      service/src/main/java/com/hfkj/dao/BsPartnerPoolMapper.java
  2. 8
      service/src/main/java/com/hfkj/dao/BsPartnerPoolPreMapper.java
  3. 8
      service/src/main/java/com/hfkj/dao/BsPartnerPoolPreSqlProvider.java
  4. 8
      service/src/main/java/com/hfkj/dao/BsPartnerPoolSqlProvider.java
  5. 6
      service/src/main/java/com/hfkj/entity/BsPartnerPool.java
  6. 30
      service/src/main/java/com/hfkj/entity/BsPartnerPoolExample.java
  7. 6
      service/src/main/java/com/hfkj/entity/BsPartnerPoolPre.java
  8. 30
      service/src/main/java/com/hfkj/entity/BsPartnerPoolPreExample.java

@ -45,7 +45,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt {
"`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}, #{num,jdbcType=VARCHAR}, ",
"#{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=VARCHAR}, ", "#{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}, ",
"#{ext3,jdbcType=VARCHAR})" "#{ext3,jdbcType=VARCHAR})"
@ -63,7 +63,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt {
@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="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), @Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL),
@Result(column="user_id", property="userId", jdbcType=JdbcType.VARCHAR), @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),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@ -85,7 +85,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt {
@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="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), @Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL),
@Result(column="user_id", property="userId", jdbcType=JdbcType.VARCHAR), @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),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@ -109,7 +109,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt {
"set `level` = #{level,jdbcType=INTEGER},", "set `level` = #{level,jdbcType=INTEGER},",
"num = #{num,jdbcType=VARCHAR},", "num = #{num,jdbcType=VARCHAR},",
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", "gold_coin = #{goldCoin,jdbcType=DECIMAL},",
"user_id = #{userId,jdbcType=VARCHAR},", "user_id = #{userId,jdbcType=BIGINT},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},",
"`status` = #{status,jdbcType=INTEGER},", "`status` = #{status,jdbcType=INTEGER},",

@ -45,7 +45,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
"`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}, #{num,jdbcType=VARCHAR}, ",
"#{goldCoin,jdbcType=DECIMAL}, #{userId,jdbcType=VARCHAR}, ", "#{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}, ",
"#{ext3,jdbcType=VARCHAR})" "#{ext3,jdbcType=VARCHAR})"
@ -63,7 +63,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
@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="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), @Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL),
@Result(column="user_id", property="userId", jdbcType=JdbcType.VARCHAR), @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),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@ -85,7 +85,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
@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="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), @Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL),
@Result(column="user_id", property="userId", jdbcType=JdbcType.VARCHAR), @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),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@ -109,7 +109,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt {
"set `level` = #{level,jdbcType=INTEGER},", "set `level` = #{level,jdbcType=INTEGER},",
"num = #{num,jdbcType=VARCHAR},", "num = #{num,jdbcType=VARCHAR},",
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", "gold_coin = #{goldCoin,jdbcType=DECIMAL},",
"user_id = #{userId,jdbcType=VARCHAR},", "user_id = #{userId,jdbcType=BIGINT},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},",
"`status` = #{status,jdbcType=INTEGER},", "`status` = #{status,jdbcType=INTEGER},",

@ -41,7 +41,7 @@ public class BsPartnerPoolPreSqlProvider {
} }
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.VALUES("user_id", "#{userId,jdbcType=VARCHAR}"); sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
@ -122,7 +122,7 @@ public class BsPartnerPoolPreSqlProvider {
} }
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.SET("user_id = #{record.userId,jdbcType=VARCHAR}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
@ -161,7 +161,7 @@ public class BsPartnerPoolPreSqlProvider {
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("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
sql.SET("user_id = #{record.userId,jdbcType=VARCHAR}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
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}");
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}");
@ -191,7 +191,7 @@ public class BsPartnerPoolPreSqlProvider {
} }
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.SET("user_id = #{userId,jdbcType=VARCHAR}"); sql.SET("user_id = #{userId,jdbcType=BIGINT}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {

@ -41,7 +41,7 @@ public class BsPartnerPoolSqlProvider {
} }
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.VALUES("user_id", "#{userId,jdbcType=VARCHAR}"); sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
@ -122,7 +122,7 @@ public class BsPartnerPoolSqlProvider {
} }
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.SET("user_id = #{record.userId,jdbcType=VARCHAR}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
@ -161,7 +161,7 @@ public class BsPartnerPoolSqlProvider {
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("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}"); sql.SET("gold_coin = #{record.goldCoin,jdbcType=DECIMAL}");
sql.SET("user_id = #{record.userId,jdbcType=VARCHAR}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
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}");
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}");
@ -191,7 +191,7 @@ public class BsPartnerPoolSqlProvider {
} }
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.SET("user_id = #{userId,jdbcType=VARCHAR}"); sql.SET("user_id = #{userId,jdbcType=BIGINT}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {

@ -37,7 +37,7 @@ public class BsPartnerPool implements Serializable {
/** /**
* 用户id * 用户id
*/ */
private String userId; private Long userId;
/** /**
* 创建时间 * 创建时间
@ -103,11 +103,11 @@ public class BsPartnerPool implements Serializable {
this.goldCoin = goldCoin; this.goldCoin = goldCoin;
} }
public String getUserId() { public Long getUserId() {
return userId; return userId;
} }
public void setUserId(String userId) { public void setUserId(Long userId) {
this.userId = userId; this.userId = userId;
} }

@ -386,62 +386,52 @@ public class BsPartnerPoolExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdEqualTo(String value) { public Criteria andUserIdEqualTo(Long value) {
addCriterion("user_id =", value, "userId"); addCriterion("user_id =", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdNotEqualTo(String value) { public Criteria andUserIdNotEqualTo(Long value) {
addCriterion("user_id <>", value, "userId"); addCriterion("user_id <>", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdGreaterThan(String value) { public Criteria andUserIdGreaterThan(Long value) {
addCriterion("user_id >", value, "userId"); addCriterion("user_id >", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdGreaterThanOrEqualTo(String value) { public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("user_id >=", value, "userId"); addCriterion("user_id >=", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdLessThan(String value) { public Criteria andUserIdLessThan(Long value) {
addCriterion("user_id <", value, "userId"); addCriterion("user_id <", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdLessThanOrEqualTo(String value) { public Criteria andUserIdLessThanOrEqualTo(Long value) {
addCriterion("user_id <=", value, "userId"); addCriterion("user_id <=", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdLike(String value) { public Criteria andUserIdIn(List<Long> values) {
addCriterion("user_id like", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotLike(String value) {
addCriterion("user_id not like", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<String> values) {
addCriterion("user_id in", values, "userId"); addCriterion("user_id in", values, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdNotIn(List<String> values) { public Criteria andUserIdNotIn(List<Long> values) {
addCriterion("user_id not in", values, "userId"); addCriterion("user_id not in", values, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdBetween(String value1, String value2) { public Criteria andUserIdBetween(Long value1, Long value2) {
addCriterion("user_id between", value1, value2, "userId"); addCriterion("user_id between", value1, value2, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdNotBetween(String value1, String value2) { public Criteria andUserIdNotBetween(Long value1, Long value2) {
addCriterion("user_id not between", value1, value2, "userId"); addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this; return (Criteria) this;
} }

@ -37,7 +37,7 @@ public class BsPartnerPoolPre implements Serializable {
/** /**
* 用户id * 用户id
*/ */
private String userId; private Long userId;
/** /**
* 创建时间 * 创建时间
@ -103,11 +103,11 @@ public class BsPartnerPoolPre implements Serializable {
this.goldCoin = goldCoin; this.goldCoin = goldCoin;
} }
public String getUserId() { public Long getUserId() {
return userId; return userId;
} }
public void setUserId(String userId) { public void setUserId(Long userId) {
this.userId = userId; this.userId = userId;
} }

@ -386,62 +386,52 @@ public class BsPartnerPoolPreExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdEqualTo(String value) { public Criteria andUserIdEqualTo(Long value) {
addCriterion("user_id =", value, "userId"); addCriterion("user_id =", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdNotEqualTo(String value) { public Criteria andUserIdNotEqualTo(Long value) {
addCriterion("user_id <>", value, "userId"); addCriterion("user_id <>", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdGreaterThan(String value) { public Criteria andUserIdGreaterThan(Long value) {
addCriterion("user_id >", value, "userId"); addCriterion("user_id >", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdGreaterThanOrEqualTo(String value) { public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("user_id >=", value, "userId"); addCriterion("user_id >=", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdLessThan(String value) { public Criteria andUserIdLessThan(Long value) {
addCriterion("user_id <", value, "userId"); addCriterion("user_id <", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdLessThanOrEqualTo(String value) { public Criteria andUserIdLessThanOrEqualTo(Long value) {
addCriterion("user_id <=", value, "userId"); addCriterion("user_id <=", value, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdLike(String value) { public Criteria andUserIdIn(List<Long> values) {
addCriterion("user_id like", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotLike(String value) {
addCriterion("user_id not like", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<String> values) {
addCriterion("user_id in", values, "userId"); addCriterion("user_id in", values, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdNotIn(List<String> values) { public Criteria andUserIdNotIn(List<Long> values) {
addCriterion("user_id not in", values, "userId"); addCriterion("user_id not in", values, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdBetween(String value1, String value2) { public Criteria andUserIdBetween(Long value1, Long value2) {
addCriterion("user_id between", value1, value2, "userId"); addCriterion("user_id between", value1, value2, "userId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserIdNotBetween(String value1, String value2) { public Criteria andUserIdNotBetween(Long value1, Long value2) {
addCriterion("user_id not between", value1, value2, "userId"); addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this; return (Criteria) this;
} }

Loading…
Cancel
Save