diff --git a/src/main/java/com/yupi/springbootinit/model/entity/NewHosts.java b/src/main/java/com/yupi/springbootinit/model/entity/NewHosts.java index f61aad1..c9451b5 100644 --- a/src/main/java/com/yupi/springbootinit/model/entity/NewHosts.java +++ b/src/main/java/com/yupi/springbootinit/model/entity/NewHosts.java @@ -71,7 +71,7 @@ public class NewHosts { /** * 入库人 */ - private Integer creator; + private Long creator; /** * 数据插入时间 diff --git a/src/main/resources/mapper/NewHostsMapper.xml b/src/main/resources/mapper/NewHostsMapper.xml index b133b57..5279c82 100644 --- a/src/main/resources/mapper/NewHostsMapper.xml +++ b/src/main/resources/mapper/NewHostsMapper.xml @@ -15,7 +15,7 @@ - + @@ -47,7 +47,7 @@ values (#{hostsId,jdbcType=VARCHAR}, #{hostsLevel,jdbcType=VARCHAR}, #{hostsCoins,jdbcType=INTEGER}, #{invitationType,jdbcType=INTEGER}, #{fans,jdbcType=INTEGER}, #{fllowernum,jdbcType=INTEGER}, #{yesterdayCoins,jdbcType=INTEGER}, #{country,jdbcType=VARCHAR}, #{hostsKind,jdbcType=VARCHAR}, - #{tenantId,jdbcType=BIGINT}, #{creator,jdbcType=INTEGER}) + #{tenantId,jdbcType=BIGINT}, #{creator,jdbcType=BIGINT}) @@ -128,7 +128,7 @@ #{tenantId,jdbcType=BIGINT}, - #{creator,jdbcType=INTEGER}, + #{creator,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},