数据集成修改
This commit is contained in:
parent
df7a4a7e32
commit
9c0c76167b
|
|
@ -159,6 +159,11 @@
|
||||||
<version>32.1.3-jre</version> <!-- 请使用最新版本 -->
|
<version>32.1.3-jre</version> <!-- 请使用最新版本 -->
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.session</groupId>
|
||||||
|
<artifactId>spring-session-data-redis</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
@ -31,12 +31,14 @@ public class KyDataClassify {
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改时间
|
* 修改时间
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,15 +12,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
update da_ky_data_classify
|
update da_ky_data_classify
|
||||||
<trim prefix="set" suffixOverrides=",">
|
<trim prefix="set" suffixOverrides=",">
|
||||||
<if test="dataTypeName!=null">
|
<if test="dataTypeName!=null">
|
||||||
data_type_name =#{dataTypeName}
|
data_type_name =#{dataTypeName},
|
||||||
</if>
|
</if>
|
||||||
<if test="updateUserId!=null">
|
<if test="updateUserId!=null">
|
||||||
update_user_id =#{updateUserId}
|
update_user_id =#{updateUserId},
|
||||||
</if>
|
</if>
|
||||||
<if test="updateUserName!=null">
|
<if test="updateUserName!=null">
|
||||||
update_user_name =#{updateUserName}
|
update_user_name =#{updateUserName},
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<delete id="delKyDataClassify">
|
<delete id="delKyDataClassify">
|
||||||
update da_ky_data_classify set del_flag = '0' where id = #{id}
|
update da_ky_data_classify set del_flag = '0' where id = #{id}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue