From a9dc61d23c4e38c37a6004662638dc8e2077267d Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 18 二月 2025 14:00:29 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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