From 4af33a0acb04bc487a4aa671dc98874fea9bd88f Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期三, 19 六月 2024 15:20:55 +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