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