diff --git a/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java b/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java index 62c4141..0fcbcdc 100644 --- a/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java +++ b/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java @@ -34,9 +34,9 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { @Delete({ "delete from bs_order_outside", - "where id = #{id,jdbcType=INTEGER}" + "where id = #{id,jdbcType=BIGINT}" }) - int deleteByPrimaryKey(Integer id); + int deleteByPrimaryKey(Long id); @Insert({ "insert into bs_order_outside (platform_code, platform_name, ", @@ -59,7 +59,7 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { @SelectProvider(type=BsOrderOutsideSqlProvider.class, method="selectByExample") @Results({ - @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="platform_code", property="platformCode", jdbcType=JdbcType.VARCHAR), @Result(column="platform_name", property="platformName", jdbcType=JdbcType.VARCHAR), @Result(column="login_type_code", property="loginTypeCode", jdbcType=JdbcType.VARCHAR), @@ -79,10 +79,10 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { "id, platform_code, platform_name, login_type_code, login_type_name, order_no, ", "create_time, update_time, `status`, ext_1, ext_2, ext_3", "from bs_order_outside", - "where id = #{id,jdbcType=INTEGER}" + "where id = #{id,jdbcType=BIGINT}" }) @Results({ - @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="platform_code", property="platformCode", jdbcType=JdbcType.VARCHAR), @Result(column="platform_name", property="platformName", jdbcType=JdbcType.VARCHAR), @Result(column="login_type_code", property="loginTypeCode", jdbcType=JdbcType.VARCHAR), @@ -95,7 +95,7 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) }) - BsOrderOutside selectByPrimaryKey(Integer id); + BsOrderOutside selectByPrimaryKey(Long id); @UpdateProvider(type=BsOrderOutsideSqlProvider.class, method="updateByExampleSelective") int updateByExampleSelective(@Param("record") BsOrderOutside record, @Param("example") BsOrderOutsideExample example); @@ -119,7 +119,7 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { "ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_2 = #{ext2,jdbcType=VARCHAR},", "ext_3 = #{ext3,jdbcType=VARCHAR}", - "where id = #{id,jdbcType=INTEGER}" + "where id = #{id,jdbcType=BIGINT}" }) int updateByPrimaryKey(BsOrderOutside record); } \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java b/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java index 6768dd5..d5c00c4 100644 --- a/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java @@ -111,7 +111,7 @@ public class BsOrderOutsideSqlProvider { sql.UPDATE("bs_order_outside"); if (record.getId() != null) { - sql.SET("id = #{record.id,jdbcType=INTEGER}"); + sql.SET("id = #{record.id,jdbcType=BIGINT}"); } if (record.getPlatformCode() != null) { @@ -166,7 +166,7 @@ public class BsOrderOutsideSqlProvider { SQL sql = new SQL(); sql.UPDATE("bs_order_outside"); - sql.SET("id = #{record.id,jdbcType=INTEGER}"); + sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("platform_code = #{record.platformCode,jdbcType=VARCHAR}"); sql.SET("platform_name = #{record.platformName,jdbcType=VARCHAR}"); sql.SET("login_type_code = #{record.loginTypeCode,jdbcType=VARCHAR}"); @@ -232,7 +232,7 @@ public class BsOrderOutsideSqlProvider { sql.SET("ext_3 = #{ext3,jdbcType=VARCHAR}"); } - sql.WHERE("id = #{id,jdbcType=INTEGER}"); + sql.WHERE("id = #{id,jdbcType=BIGINT}"); return sql.toString(); } diff --git a/service/src/main/java/com/hfkj/entity/BsOrderOutside.java b/service/src/main/java/com/hfkj/entity/BsOrderOutside.java index 7dea1c5..51909d7 100644 --- a/service/src/main/java/com/hfkj/entity/BsOrderOutside.java +++ b/service/src/main/java/com/hfkj/entity/BsOrderOutside.java @@ -16,7 +16,7 @@ public class BsOrderOutside implements Serializable { /** * 主键 */ - private Integer id; + private Long id; /** * 登录平台code @@ -75,11 +75,11 @@ public class BsOrderOutside implements Serializable { private static final long serialVersionUID = 1L; - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java b/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java index 03a7151..962cf19 100644 --- a/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java +++ b/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java @@ -135,52 +135,52 @@ public class BsOrderOutsideExample { return (Criteria) this; } - public Criteria andIdEqualTo(Integer value) { + public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } - public Criteria andIdNotEqualTo(Integer value) { + public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } - public Criteria andIdGreaterThan(Integer value) { + public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } - public Criteria andIdGreaterThanOrEqualTo(Integer value) { + public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } - public Criteria andIdLessThan(Integer value) { + public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } - public Criteria andIdLessThanOrEqualTo(Integer value) { + public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } - public Criteria andIdIn(List values) { + public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } - public Criteria andIdNotIn(List values) { + public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } - public Criteria andIdBetween(Integer value1, Integer value2) { + public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } - public Criteria andIdNotBetween(Integer value1, Integer value2) { + public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; }