From 70a9432e3b8d136838b71c9e4e9f06c890d43445 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期四, 14 三月 2024 16:38:08 +0800
Subject: [PATCH] 调整任务检索时间

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

diff --git a/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml b/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml
index 8b5c518..3d6550b 100644
--- a/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml
+++ b/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml
@@ -384,6 +384,7 @@
         left join tr_hidden_danger_check  c  on  c.check_id = a.check_id
         left join tr_troubleshoot_type  b  on  c.troubleshoot_type_id = b.type_id
     </sql>
+
     <!-- todo 查隐患台账-->
     <select id="selectHiddenDangerCheckPointListNewCount" parameterType="HiddenDangerCheckPoint"
             resultMap="HiddenDangerCheckPointResult">
@@ -418,6 +419,8 @@
             </if>
             <if test="acceptStatus != null  and acceptStatus != ''">and a.accept_status  = #{acceptStatus}</if>
             <if test="dangerSources != null  and dangerSources != ''">and a.danger_sources = #{dangerSources}</if>
+            <if test="dangerName != null  and dangerName != ''">and a.danger_name like concat('%', #{dangerName}, '%')
+            </if>
 
 <!--            <if test="rectifyUserIdIsNotNull != null  and rectifyUserIdIsNotNull != ''">and a.rectify_user_id is not null</if>-->
 

--
Gitblit v1.9.2