From a10a94b0f7456ca959280cf9f9975b0009db004e Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期一, 25 三月 2024 10:22:53 +0800 Subject: [PATCH] update config --- 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