From e3fded6dd62d9606edab192c98f9aca5177e95e0 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期一, 03 七月 2023 13:41:17 +0800
Subject: [PATCH] 上报修改完成-部分无数据测试

---
 src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml b/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
index 4b29f32..dea7ea7 100644
--- a/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
+++ b/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
@@ -85,6 +85,7 @@
 
     <select id="selectHiddenDangerCheckList" parameterType="HiddenDangerCheck" resultMap="HiddenDangerCheckResult">
         <include refid="selectHiddenDangerCheckVo"/>
+
         <where>
             <if test="checkId != null  and checkId != ''"> and a.check_id = #{checkId}</if>
             <if test="planCreateUserId != null  and planCreateUserId != ''"> and a.plan_create_user_id = #{planCreateUserId}</if>
@@ -365,5 +366,23 @@
         where check_id = #{checkId}
     </select>
 
+    <update id="getHiddenDangerCheckByIdOld" parameterType="Long">
+        update tr_hidden_danger_check set
+            create_by = #{createBy},
+            update_by = #{updateBy},
+            create_time = #{createTime},
+            update_time = #{updateTime}
+
+        where id = #{checkId}
+    </update>
+
+
+<!--    <if test="createBy != null  and createBy != ''">create_by = #{createBy},</if>-->
+<!--    <if test="createTime != null ">create_time = #{createTime},</if>-->
+<!--    <if test="updateBy != null  and updateBy != ''">update_by = #{updateBy},</if>-->
+<!--    <if test="updateTime != null ">update_time = #{updateTime},</if>-->
+<!--    <if test="remark != null  and remark != ''">remark = #{remark},</if>-->
+<!--    <if test="planCreateUserId != null  and planCreateUserId != ''">plan_create_user_id = #{planCreateUserId},</if>-->
+
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.2