From 359c410d95de9e584736cc0616cb467b0c405041 Mon Sep 17 00:00:00 2001 From: YuanYe <418471657@qq.com> Date: Mon, 14 Oct 2024 17:16:02 +0800 Subject: [PATCH] 1 --- .../com/hfkj/dao/BsPartnerPoolMapper.java | 8 ++--- .../com/hfkj/dao/BsPartnerPoolPreMapper.java | 8 ++--- .../hfkj/dao/BsPartnerPoolPreSqlProvider.java | 8 ++--- .../hfkj/dao/BsPartnerPoolSqlProvider.java | 8 ++--- .../java/com/hfkj/entity/BsPartnerPool.java | 6 ++-- .../com/hfkj/entity/BsPartnerPoolExample.java | 30 +++++++------------ .../com/hfkj/entity/BsPartnerPoolPre.java | 6 ++-- .../hfkj/entity/BsPartnerPoolPreExample.java | 30 +++++++------------ 8 files changed, 42 insertions(+), 62 deletions(-) diff --git a/service/src/main/java/com/hfkj/dao/BsPartnerPoolMapper.java b/service/src/main/java/com/hfkj/dao/BsPartnerPoolMapper.java index 44a4a8b..94debc4 100644 --- a/service/src/main/java/com/hfkj/dao/BsPartnerPoolMapper.java +++ b/service/src/main/java/com/hfkj/dao/BsPartnerPoolMapper.java @@ -45,7 +45,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { "`status`, ext_1, ext_2, ", "ext_3)", "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}, ", "#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", "#{ext3,jdbcType=VARCHAR})" @@ -63,7 +63,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { @Result(column="level", property="level", jdbcType=JdbcType.INTEGER), @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.VARCHAR), + @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @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="num", property="num", jdbcType=JdbcType.VARCHAR), @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="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @@ -109,7 +109,7 @@ public interface BsPartnerPoolMapper extends BsPartnerPoolMapperExt { "set `level` = #{level,jdbcType=INTEGER},", "num = #{num,jdbcType=VARCHAR},", "gold_coin = #{goldCoin,jdbcType=DECIMAL},", - "user_id = #{userId,jdbcType=VARCHAR},", + "user_id = #{userId,jdbcType=BIGINT},", "create_time = #{createTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},", "`status` = #{status,jdbcType=INTEGER},", diff --git a/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreMapper.java b/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreMapper.java index 98dbc94..eee24f6 100644 --- a/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreMapper.java +++ b/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreMapper.java @@ -45,7 +45,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { "`status`, ext_1, ext_2, ", "ext_3)", "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}, ", "#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", "#{ext3,jdbcType=VARCHAR})" @@ -63,7 +63,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { @Result(column="level", property="level", jdbcType=JdbcType.INTEGER), @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.VARCHAR), + @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @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="num", property="num", jdbcType=JdbcType.VARCHAR), @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="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @@ -109,7 +109,7 @@ public interface BsPartnerPoolPreMapper extends BsPartnerPoolPreMapperExt { "set `level` = #{level,jdbcType=INTEGER},", "num = #{num,jdbcType=VARCHAR},", "gold_coin = #{goldCoin,jdbcType=DECIMAL},", - "user_id = #{userId,jdbcType=VARCHAR},", + "user_id = #{userId,jdbcType=BIGINT},", "create_time = #{createTime,jdbcType=TIMESTAMP},", "update_time = #{updateTime,jdbcType=TIMESTAMP},", "`status` = #{status,jdbcType=INTEGER},", diff --git a/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreSqlProvider.java b/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreSqlProvider.java index a1155c5..01e56d1 100644 --- a/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/BsPartnerPoolPreSqlProvider.java @@ -41,7 +41,7 @@ public class BsPartnerPoolPreSqlProvider { } if (record.getUserId() != null) { - sql.VALUES("user_id", "#{userId,jdbcType=VARCHAR}"); + sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}"); } if (record.getCreateTime() != null) { @@ -122,7 +122,7 @@ public class BsPartnerPoolPreSqlProvider { } if (record.getUserId() != null) { - sql.SET("user_id = #{record.userId,jdbcType=VARCHAR}"); + sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); } if (record.getCreateTime() != null) { @@ -161,7 +161,7 @@ public class BsPartnerPoolPreSqlProvider { sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); sql.SET("num = #{record.num,jdbcType=VARCHAR}"); 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("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); @@ -191,7 +191,7 @@ public class BsPartnerPoolPreSqlProvider { } if (record.getUserId() != null) { - sql.SET("user_id = #{userId,jdbcType=VARCHAR}"); + sql.SET("user_id = #{userId,jdbcType=BIGINT}"); } if (record.getCreateTime() != null) { diff --git a/service/src/main/java/com/hfkj/dao/BsPartnerPoolSqlProvider.java b/service/src/main/java/com/hfkj/dao/BsPartnerPoolSqlProvider.java index 1b7436d..47fe030 100644 --- a/service/src/main/java/com/hfkj/dao/BsPartnerPoolSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/BsPartnerPoolSqlProvider.java @@ -41,7 +41,7 @@ public class BsPartnerPoolSqlProvider { } if (record.getUserId() != null) { - sql.VALUES("user_id", "#{userId,jdbcType=VARCHAR}"); + sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}"); } if (record.getCreateTime() != null) { @@ -122,7 +122,7 @@ public class BsPartnerPoolSqlProvider { } if (record.getUserId() != null) { - sql.SET("user_id = #{record.userId,jdbcType=VARCHAR}"); + sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); } if (record.getCreateTime() != null) { @@ -161,7 +161,7 @@ public class BsPartnerPoolSqlProvider { sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); sql.SET("num = #{record.num,jdbcType=VARCHAR}"); 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("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); @@ -191,7 +191,7 @@ public class BsPartnerPoolSqlProvider { } if (record.getUserId() != null) { - sql.SET("user_id = #{userId,jdbcType=VARCHAR}"); + sql.SET("user_id = #{userId,jdbcType=BIGINT}"); } if (record.getCreateTime() != null) { diff --git a/service/src/main/java/com/hfkj/entity/BsPartnerPool.java b/service/src/main/java/com/hfkj/entity/BsPartnerPool.java index 2e4c592..690d211 100644 --- a/service/src/main/java/com/hfkj/entity/BsPartnerPool.java +++ b/service/src/main/java/com/hfkj/entity/BsPartnerPool.java @@ -37,7 +37,7 @@ public class BsPartnerPool implements Serializable { /** * 用户id */ - private String userId; + private Long userId; /** * 创建时间 @@ -103,11 +103,11 @@ public class BsPartnerPool implements Serializable { this.goldCoin = goldCoin; } - public String getUserId() { + public Long getUserId() { return userId; } - public void setUserId(String userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/service/src/main/java/com/hfkj/entity/BsPartnerPoolExample.java b/service/src/main/java/com/hfkj/entity/BsPartnerPoolExample.java index 2723ec2..c9ebb73 100644 --- a/service/src/main/java/com/hfkj/entity/BsPartnerPoolExample.java +++ b/service/src/main/java/com/hfkj/entity/BsPartnerPoolExample.java @@ -386,62 +386,52 @@ public class BsPartnerPoolExample { return (Criteria) this; } - public Criteria andUserIdEqualTo(String value) { + public Criteria andUserIdEqualTo(Long value) { addCriterion("user_id =", value, "userId"); return (Criteria) this; } - public Criteria andUserIdNotEqualTo(String value) { + public Criteria andUserIdNotEqualTo(Long value) { addCriterion("user_id <>", value, "userId"); return (Criteria) this; } - public Criteria andUserIdGreaterThan(String value) { + public Criteria andUserIdGreaterThan(Long value) { addCriterion("user_id >", value, "userId"); return (Criteria) this; } - public Criteria andUserIdGreaterThanOrEqualTo(String value) { + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { addCriterion("user_id >=", value, "userId"); return (Criteria) this; } - public Criteria andUserIdLessThan(String value) { + public Criteria andUserIdLessThan(Long value) { addCriterion("user_id <", value, "userId"); return (Criteria) this; } - public Criteria andUserIdLessThanOrEqualTo(String value) { + public Criteria andUserIdLessThanOrEqualTo(Long value) { addCriterion("user_id <=", value, "userId"); return (Criteria) this; } - public Criteria andUserIdLike(String value) { - 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 values) { + public Criteria andUserIdIn(List values) { addCriterion("user_id in", values, "userId"); return (Criteria) this; } - public Criteria andUserIdNotIn(List values) { + public Criteria andUserIdNotIn(List values) { addCriterion("user_id not in", values, "userId"); return (Criteria) this; } - public Criteria andUserIdBetween(String value1, String value2) { + public Criteria andUserIdBetween(Long value1, Long value2) { addCriterion("user_id between", value1, value2, "userId"); 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"); return (Criteria) this; } diff --git a/service/src/main/java/com/hfkj/entity/BsPartnerPoolPre.java b/service/src/main/java/com/hfkj/entity/BsPartnerPoolPre.java index e027b93..593a650 100644 --- a/service/src/main/java/com/hfkj/entity/BsPartnerPoolPre.java +++ b/service/src/main/java/com/hfkj/entity/BsPartnerPoolPre.java @@ -37,7 +37,7 @@ public class BsPartnerPoolPre implements Serializable { /** * 用户id */ - private String userId; + private Long userId; /** * 创建时间 @@ -103,11 +103,11 @@ public class BsPartnerPoolPre implements Serializable { this.goldCoin = goldCoin; } - public String getUserId() { + public Long getUserId() { return userId; } - public void setUserId(String userId) { + public void setUserId(Long userId) { this.userId = userId; } diff --git a/service/src/main/java/com/hfkj/entity/BsPartnerPoolPreExample.java b/service/src/main/java/com/hfkj/entity/BsPartnerPoolPreExample.java index 354c76f..71281ba 100644 --- a/service/src/main/java/com/hfkj/entity/BsPartnerPoolPreExample.java +++ b/service/src/main/java/com/hfkj/entity/BsPartnerPoolPreExample.java @@ -386,62 +386,52 @@ public class BsPartnerPoolPreExample { return (Criteria) this; } - public Criteria andUserIdEqualTo(String value) { + public Criteria andUserIdEqualTo(Long value) { addCriterion("user_id =", value, "userId"); return (Criteria) this; } - public Criteria andUserIdNotEqualTo(String value) { + public Criteria andUserIdNotEqualTo(Long value) { addCriterion("user_id <>", value, "userId"); return (Criteria) this; } - public Criteria andUserIdGreaterThan(String value) { + public Criteria andUserIdGreaterThan(Long value) { addCriterion("user_id >", value, "userId"); return (Criteria) this; } - public Criteria andUserIdGreaterThanOrEqualTo(String value) { + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { addCriterion("user_id >=", value, "userId"); return (Criteria) this; } - public Criteria andUserIdLessThan(String value) { + public Criteria andUserIdLessThan(Long value) { addCriterion("user_id <", value, "userId"); return (Criteria) this; } - public Criteria andUserIdLessThanOrEqualTo(String value) { + public Criteria andUserIdLessThanOrEqualTo(Long value) { addCriterion("user_id <=", value, "userId"); return (Criteria) this; } - public Criteria andUserIdLike(String value) { - 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 values) { + public Criteria andUserIdIn(List values) { addCriterion("user_id in", values, "userId"); return (Criteria) this; } - public Criteria andUserIdNotIn(List values) { + public Criteria andUserIdNotIn(List values) { addCriterion("user_id not in", values, "userId"); return (Criteria) this; } - public Criteria andUserIdBetween(String value1, String value2) { + public Criteria andUserIdBetween(Long value1, Long value2) { addCriterion("user_id between", value1, value2, "userId"); 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"); return (Criteria) this; }