袁野 1 month ago
parent 505734eb16
commit e61b3bc783
  1. 8
      service/src/main/java/com/hfkj/dao/BsPartnerLevelMapper.java
  2. 8
      service/src/main/java/com/hfkj/dao/BsPartnerLevelSqlProvider.java
  3. 6
      service/src/main/java/com/hfkj/entity/BsPartnerLevel.java
  4. 30
      service/src/main/java/com/hfkj/entity/BsPartnerLevelExample.java

@ -47,7 +47,7 @@ public interface BsPartnerLevelMapper extends BsPartnerLevelMapperExt {
"values (#{level,jdbcType=INTEGER}, #{levelName,jdbcType=VARCHAR}, ", "values (#{level,jdbcType=INTEGER}, #{levelName,jdbcType=VARCHAR}, ",
"#{dividendsPer,jdbcType=DECIMAL}, #{incomePer,jdbcType=DECIMAL}, ", "#{dividendsPer,jdbcType=DECIMAL}, #{incomePer,jdbcType=DECIMAL}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ",
"#{userNum,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", "#{userNum,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" "#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
}) })
@Options(useGeneratedKeys=true,keyProperty="id") @Options(useGeneratedKeys=true,keyProperty="id")
@ -66,7 +66,7 @@ public interface BsPartnerLevelMapper extends BsPartnerLevelMapperExt {
@Result(column="income_per", property="incomePer", jdbcType=JdbcType.DECIMAL), @Result(column="income_per", property="incomePer", 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),
@Result(column="user_num", property="userNum", jdbcType=JdbcType.VARCHAR), @Result(column="user_num", property="userNum", jdbcType=JdbcType.INTEGER),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@ -89,7 +89,7 @@ public interface BsPartnerLevelMapper extends BsPartnerLevelMapperExt {
@Result(column="income_per", property="incomePer", jdbcType=JdbcType.DECIMAL), @Result(column="income_per", property="incomePer", 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),
@Result(column="user_num", property="userNum", jdbcType=JdbcType.VARCHAR), @Result(column="user_num", property="userNum", jdbcType=JdbcType.INTEGER),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@ -114,7 +114,7 @@ public interface BsPartnerLevelMapper extends BsPartnerLevelMapperExt {
"income_per = #{incomePer,jdbcType=DECIMAL},", "income_per = #{incomePer,jdbcType=DECIMAL},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},",
"user_num = #{userNum,jdbcType=VARCHAR},", "user_num = #{userNum,jdbcType=INTEGER},",
"`status` = #{status,jdbcType=INTEGER},", "`status` = #{status,jdbcType=INTEGER},",
"ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_1 = #{ext1,jdbcType=VARCHAR},",
"ext_2 = #{ext2,jdbcType=VARCHAR},", "ext_2 = #{ext2,jdbcType=VARCHAR},",

@ -53,7 +53,7 @@ public class BsPartnerLevelSqlProvider {
} }
if (record.getUserNum() != null) { if (record.getUserNum() != null) {
sql.VALUES("user_num", "#{userNum,jdbcType=VARCHAR}"); sql.VALUES("user_num", "#{userNum,jdbcType=INTEGER}");
} }
if (record.getStatus() != null) { if (record.getStatus() != null) {
@ -139,7 +139,7 @@ public class BsPartnerLevelSqlProvider {
} }
if (record.getUserNum() != null) { if (record.getUserNum() != null) {
sql.SET("user_num = #{record.userNum,jdbcType=VARCHAR}"); sql.SET("user_num = #{record.userNum,jdbcType=INTEGER}");
} }
if (record.getStatus() != null) { if (record.getStatus() != null) {
@ -173,7 +173,7 @@ public class BsPartnerLevelSqlProvider {
sql.SET("income_per = #{record.incomePer,jdbcType=DECIMAL}"); sql.SET("income_per = #{record.incomePer,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}");
sql.SET("user_num = #{record.userNum,jdbcType=VARCHAR}"); sql.SET("user_num = #{record.userNum,jdbcType=INTEGER}");
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}");
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}");
@ -213,7 +213,7 @@ public class BsPartnerLevelSqlProvider {
} }
if (record.getUserNum() != null) { if (record.getUserNum() != null) {
sql.SET("user_num = #{userNum,jdbcType=VARCHAR}"); sql.SET("user_num = #{userNum,jdbcType=INTEGER}");
} }
if (record.getStatus() != null) { if (record.getStatus() != null) {

@ -52,7 +52,7 @@ public class BsPartnerLevel implements Serializable {
/** /**
* 用户数量 * 用户数量
*/ */
private String userNum; private Integer userNum;
/** /**
* 状态 * 状态
@ -132,11 +132,11 @@ public class BsPartnerLevel implements Serializable {
this.updateTime = updateTime; this.updateTime = updateTime;
} }
public String getUserNum() { public Integer getUserNum() {
return userNum; return userNum;
} }
public void setUserNum(String userNum) { public void setUserNum(Integer userNum) {
this.userNum = userNum; this.userNum = userNum;
} }

@ -566,62 +566,52 @@ public class BsPartnerLevelExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumEqualTo(String value) { public Criteria andUserNumEqualTo(Integer value) {
addCriterion("user_num =", value, "userNum"); addCriterion("user_num =", value, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumNotEqualTo(String value) { public Criteria andUserNumNotEqualTo(Integer value) {
addCriterion("user_num <>", value, "userNum"); addCriterion("user_num <>", value, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumGreaterThan(String value) { public Criteria andUserNumGreaterThan(Integer value) {
addCriterion("user_num >", value, "userNum"); addCriterion("user_num >", value, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumGreaterThanOrEqualTo(String value) { public Criteria andUserNumGreaterThanOrEqualTo(Integer value) {
addCriterion("user_num >=", value, "userNum"); addCriterion("user_num >=", value, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumLessThan(String value) { public Criteria andUserNumLessThan(Integer value) {
addCriterion("user_num <", value, "userNum"); addCriterion("user_num <", value, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumLessThanOrEqualTo(String value) { public Criteria andUserNumLessThanOrEqualTo(Integer value) {
addCriterion("user_num <=", value, "userNum"); addCriterion("user_num <=", value, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumLike(String value) { public Criteria andUserNumIn(List<Integer> values) {
addCriterion("user_num like", value, "userNum");
return (Criteria) this;
}
public Criteria andUserNumNotLike(String value) {
addCriterion("user_num not like", value, "userNum");
return (Criteria) this;
}
public Criteria andUserNumIn(List<String> values) {
addCriterion("user_num in", values, "userNum"); addCriterion("user_num in", values, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumNotIn(List<String> values) { public Criteria andUserNumNotIn(List<Integer> values) {
addCriterion("user_num not in", values, "userNum"); addCriterion("user_num not in", values, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumBetween(String value1, String value2) { public Criteria andUserNumBetween(Integer value1, Integer value2) {
addCriterion("user_num between", value1, value2, "userNum"); addCriterion("user_num between", value1, value2, "userNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUserNumNotBetween(String value1, String value2) { public Criteria andUserNumNotBetween(Integer value1, Integer value2) {
addCriterion("user_num not between", value1, value2, "userNum"); addCriterion("user_num not between", value1, value2, "userNum");
return (Criteria) this; return (Criteria) this;
} }

Loading…
Cancel
Save