From 44d08c0ee46ad48be365428173a2b850488c28d4 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 18 二月 2025 12:01:11 +0800
Subject: [PATCH] 小程序登录

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TContractMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TContractMapper.xml
index 05b10d4..c413736 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TContractMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TContractMapper.xml
@@ -97,7 +97,7 @@
                     #{item}
                 </foreach>
             </if>
-            <if test="query.ids == null and query.ids.size()=0">
+            <if test="query.ids != null and query.ids.size()=0">
                 <if test="query.partyTwoName != null and query.partyTwoName != ''">
                     and t1.party_two_name like concat('%',#{query.partyTwoName},'%')
                 </if>

--
Gitblit v1.7.1