From 4ab167bd46cc342c08d3fad9cfa10baf02817114 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 20 八月 2024 17:17:25 +0800
Subject: [PATCH] 合同模板修改
---
ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
index 850ac2e..572000a 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -89,9 +89,9 @@
yu.unit_name,
yp.start_time,
yp.end_time,
- yp.province_tag,
- yp.important_tag,
- yp.important_command_image_tag
+ CASE WHEN yp.province_tag = 0 THEN '' ELSE '鐪佸巺鐐逛綅' END AS provinceTagString,
+ CASE WHEN yp.important_tag = 0 THEN '' ELSE '閲嶇偣鐐逛綅' END AS importantTagString,
+ CASE WHEN yp.important_command_image_tag = 0 THEN '' ELSE '閲嶇偣鎸囨尌鍥惧儚' END AS importantCommandImageTagString
FROM
t_yw_point yp
INNER JOIN t_monitor m ON yp.serial_number = m.serial_number
@@ -102,4 +102,8 @@
</if>
</where>
</select>
+
+ <delete id="deleteAll">
+ delete from t_yw_point
+ </delete>
</mapper>
--
Gitblit v1.8.0