修改 Hosts 实体类创建者字段类型为 Long
This commit is contained in:
@@ -71,7 +71,7 @@ public class NewHosts {
|
|||||||
/**
|
/**
|
||||||
* 入库人
|
* 入库人
|
||||||
*/
|
*/
|
||||||
private Integer creator;
|
private Long creator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 数据插入时间
|
* 数据插入时间
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<result column="country" jdbcType="VARCHAR" property="country" />
|
<result column="country" jdbcType="VARCHAR" property="country" />
|
||||||
<result column="hosts_kind" jdbcType="VARCHAR" property="hostsKind" />
|
<result column="hosts_kind" jdbcType="VARCHAR" property="hostsKind" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
<result column="creator" jdbcType="INTEGER" property="creator" />
|
<result column="creator" jdbcType="BIGINT" property="creator" />
|
||||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
<result column="updater" jdbcType="VARCHAR" property="updater" />
|
<result column="updater" jdbcType="VARCHAR" property="updater" />
|
||||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
values (#{hostsId,jdbcType=VARCHAR}, #{hostsLevel,jdbcType=VARCHAR}, #{hostsCoins,jdbcType=INTEGER},
|
values (#{hostsId,jdbcType=VARCHAR}, #{hostsLevel,jdbcType=VARCHAR}, #{hostsCoins,jdbcType=INTEGER},
|
||||||
#{invitationType,jdbcType=INTEGER}, #{fans,jdbcType=INTEGER}, #{fllowernum,jdbcType=INTEGER},
|
#{invitationType,jdbcType=INTEGER}, #{fans,jdbcType=INTEGER}, #{fllowernum,jdbcType=INTEGER},
|
||||||
#{yesterdayCoins,jdbcType=INTEGER}, #{country,jdbcType=VARCHAR}, #{hostsKind,jdbcType=VARCHAR},
|
#{yesterdayCoins,jdbcType=INTEGER}, #{country,jdbcType=VARCHAR}, #{hostsKind,jdbcType=VARCHAR},
|
||||||
#{tenantId,jdbcType=BIGINT}, #{creator,jdbcType=INTEGER})
|
#{tenantId,jdbcType=BIGINT}, #{creator,jdbcType=BIGINT})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yupi.springbootinit.model.entity.NewHosts" useGeneratedKeys="true">
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yupi.springbootinit.model.entity.NewHosts" useGeneratedKeys="true">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="creator != null">
|
<if test="creator != null">
|
||||||
#{creator,jdbcType=INTEGER},
|
#{creator,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="createTime != null">
|
<if test="createTime != null">
|
||||||
#{createTime,jdbcType=TIMESTAMP},
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
|
|||||||
Reference in New Issue
Block a user