From a3d63a4a7199d346e63039a8fd6490b12387fa4e Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Thu, 07 May 2026 13:42:38 +0800
Subject: [PATCH] 增加查询条件

---
 multi-system/src/main/resources/mapper/system/DocumentChangesInvalidatedMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/DocumentChangesInvalidatedMapper.xml b/multi-system/src/main/resources/mapper/system/DocumentChangesInvalidatedMapper.xml
index 7bc1605..4e8ca8d 100644
--- a/multi-system/src/main/resources/mapper/system/DocumentChangesInvalidatedMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/DocumentChangesInvalidatedMapper.xml
@@ -9,6 +9,9 @@
         <if test="companyId!=null ">
             and company_id = #{companyId}
         </if>
+        <if test="year!=null and year != '' ">
+            and year = #{year}
+        </if>
         order by create_time desc
     </select>
 </mapper>

--
Gitblit v1.9.2