From 0f2c1b3050973dd27219a8fa39bce5662c5ebad5 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 21 二月 2025 14:37:17 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/xiaochen991015/xizang

---
 ruoyi-system/src/main/resources/mapper/system/TFaultRepairMessageMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TFaultRepairMessageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TFaultRepairMessageMapper.xml
index f39bab5..217157a 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TFaultRepairMessageMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TFaultRepairMessageMapper.xml
@@ -167,7 +167,10 @@
         LEFT JOIN t_tenant tnt ON t.tenant_id = tnt.id
         <where>
             <if test="query.houseAddress != null and query.houseAddress != ''">
-                AND tnt.service_address LIKE CONCAT('%', #{query.houseAddress}, '%')
+                AND t.service_address LIKE CONCAT('%', #{query.houseAddress}, '%')
+            </if>
+            <if test="query.status != null">
+                AND t.status = #{query.status}
             </if>
             AND t.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         </where>

--
Gitblit v1.7.1