From 9ccd0bc5786cbb1bca2c9fda28f0cd730126656d Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 13 三月 2024 09:21:38 +0800
Subject: [PATCH] 合并
---
ycl-server/src/main/resources/mapper/zgyw/TCheckPublishMapper.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/TCheckPublishMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TCheckPublishMapper.xml
index c068482..77d56b4 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/TCheckPublishMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/TCheckPublishMapper.xml
@@ -18,10 +18,11 @@
<result property="updateUser" column="update_user" />
<result property="updateUserName" column="update_user_name" />
<result property="description" column="description" />
+ <result property="alarmScore" column="alarm_score" />
</resultMap>
<sql id="selectTCheckPublishVo">
- select id , examine_name, template_id , examine_range , frequency , state , create_time , create_user , update_time , update_user , description,create_user_name,update_user_name from t_check_publish
+ select id , examine_name, template_id , examine_range , frequency , state , create_time , create_user , update_time , update_user , description,create_user_name,update_user_name,alarm_score from t_check_publish
</sql>
<select id="selectTCheckPublishList" parameterType="com.ycl.platform.domain.entity.TCheckPublish" resultMap="TCheckPublishResult">
@@ -35,6 +36,7 @@
<if test="createUser != null "> and create_user = #{createUser}</if>
<if test="updateUser != null "> and update_user = #{updateUser}</if>
<if test="description != null and description != ''"> and description = #{description}</if>
+ <if test="alarmScore != null"> and alarm_score = #{alarmScore}</if>
</where>
</select>
@@ -59,6 +61,7 @@
<if test="updateUser != null">update_user,</if>
<if test="updateUserName != null and updateUserName!= ''">update_user_name,</if>
<if test="description != null">description,</if>
+ <if test="alarmScore != null">alarm_score,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@@ -74,6 +77,7 @@
<if test="updateUser != null">#{updateUser},</if>
<if test="updateUserName != null and updateUserName!= ''">#{updateUserName},</if>
<if test="description != null">#{description},</if>
+ <if test="alarmScore != null">#{alarmScore},</if>
</trim>
</insert>
@@ -92,6 +96,7 @@
<if test="updateUser != null">update_user = #{updateUser},</if>
<if test="updateUserName != null and updateUserName!= ''">update_user_name = #{updateUserName},</if>
<if test="description != null">description = #{description},</if>
+ <if test="alarmScore != null">alarm_score = #{alarmScore},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.8.0