From d99cfc56f51a1d3628dd92e77e0006ed20ca4ae2 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 05 三月 2025 17:24:07 +0800
Subject: [PATCH] 权限

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/THouseMapper.xml b/ruoyi-system/src/main/resources/mapper/system/THouseMapper.xml
index 0eefc41..a4f10ec 100644
--- a/ruoyi-system/src/main/resources/mapper/system/THouseMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/THouseMapper.xml
@@ -38,7 +38,7 @@
             <if test="req.propertyRightPerson != null and req.propertyRightPerson != ''">
                 and t1.property_right_person like concat('%', #{req.propertyRightPerson}, '%')
             </if>
-            <if test="req.leaseStatus != null">
+            <if test="req.leaseStatus != null and req.houseName != ''">
                 and t1.lease_status = #{req.leaseStatus}
             </if>
             AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}

--
Gitblit v1.7.1