|
@@ -10,9 +10,9 @@
|
|
|
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="delete_time" property="deleteTime" jdbcType="TIMESTAMP" />
|
|
|
- <result column="create_user_id" property="createUserId" jdbcType="TIMESTAMP" />
|
|
|
- <result column="update_user_id" property="updateUserId" jdbcType="TIMESTAMP" />
|
|
|
- <result column="delete_user_id" property="deleteUserId" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="create_user_id" property="createUserId" jdbcType="BIGINT" />
|
|
|
+ <result column="update_user_id" property="updateUserId" jdbcType="BIGINT" />
|
|
|
+ <result column="delete_user_id" property="deleteUserId" jdbcType="BIGINT" />
|
|
|
<result column="delete_flag" property="deleteFlag" jdbcType="INTEGER" />
|
|
|
</resultMap>
|
|
|
|
|
@@ -41,8 +41,8 @@
|
|
|
)
|
|
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR},
|
|
|
#{description,jdbcType=VARCHAR}, #{companyId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP}, #{deleteTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=TIMESTAMP},
|
|
|
- #{updateUserId,jdbcType=TIMESTAMP}, #{deleteUserId,jdbcType=TIMESTAMP}, #{deleteFlag,jdbcType=INTEGER}
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP}, #{deleteTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=BIGINT},
|
|
|
+ #{updateUserId,jdbcType=BIGINT}, #{deleteUserId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=INTEGER}
|
|
|
)
|
|
|
</insert>
|
|
|
|
|
@@ -112,13 +112,13 @@
|
|
|
#{deleteTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="createUserId != null" >
|
|
|
- #{createUserId,jdbcType=TIMESTAMP},
|
|
|
+ #{createUserId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="updateUserId != null" >
|
|
|
- #{updateUserId,jdbcType=TIMESTAMP},
|
|
|
+ #{updateUserId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="deleteUserId != null" >
|
|
|
- #{deleteUserId,jdbcType=TIMESTAMP},
|
|
|
+ #{deleteUserId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="deleteFlag != null" >
|
|
|
#{deleteFlag,jdbcType=INTEGER},
|
|
@@ -151,13 +151,13 @@
|
|
|
delete_time = #{deleteTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="createUserId != null" >
|
|
|
- create_user_id = #{createUserId,jdbcType=TIMESTAMP},
|
|
|
+ create_user_id = #{createUserId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="updateUserId != null" >
|
|
|
- update_user_id = #{updateUserId,jdbcType=TIMESTAMP},
|
|
|
+ update_user_id = #{updateUserId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="deleteUserId != null" >
|
|
|
- delete_user_id = #{deleteUserId,jdbcType=TIMESTAMP},
|
|
|
+ delete_user_id = #{deleteUserId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="deleteFlag != null" >
|
|
|
delete_flag = #{deleteFlag,jdbcType=INTEGER},
|
|
@@ -175,9 +175,9 @@
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
delete_time = #{deleteTime,jdbcType=TIMESTAMP},
|
|
|
- create_user_id = #{createUserId,jdbcType=TIMESTAMP},
|
|
|
- update_user_id = #{updateUserId,jdbcType=TIMESTAMP},
|
|
|
- delete_user_id = #{deleteUserId,jdbcType=TIMESTAMP},
|
|
|
+ create_user_id = #{createUserId,jdbcType=BIGINT},
|
|
|
+ update_user_id = #{updateUserId,jdbcType=BIGINT},
|
|
|
+ delete_user_id = #{deleteUserId,jdbcType=BIGINT},
|
|
|
delete_flag = #{deleteFlag,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|