From 9b40b08ec9010f541bf037bddb3a4648f12507db Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期二, 21 二月 2023 18:12:50 +0800
Subject: [PATCH] 查询条件,驾驶舱导入,报文删除

---
 ycl-platform/src/main/resources/mapper/caseHandler/WritMapper.xml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/WritMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/WritMapper.xml
index b20f33d..1de2a20 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/WritMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/WritMapper.xml
@@ -35,9 +35,12 @@
         base_case_id
         , illegal_building_id, writ_type, writ_code, illegal_type, send_time, limit_time, send_content, rectify_time, rectify_situation, remark, writ_pic, original_pic, rectified_pic, othen_pic, create_user, create_time
     </sql>
-    <update id="deleteValueByCaseId">
-        update ums_writ set value = null where base_case_id = #{baseCaseId}
-    </update>
+<!--    <update id="deleteValueByCaseId">-->
+<!--        update ums_writ set value = null where base_case_id = #{baseCaseId}-->
+<!--    </update>-->
+    <delete id="deleteValueByCaseId">
+        delete from ums_writ where base_case_id = #{baseCaseId}
+    </delete>
     <select id="selectWritPage" resultMap="VoMap">
         SELECT w.*, wt.`name` as writ_type_name,bc.`code` event_code,dd.`name` category_name,wt.code template_code
         FROM ums_writ w

--
Gitblit v1.8.0