From c26e227abe288476c11b0a8b7875045e71efa14c Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Thu, 30 Apr 2026 17:30:00 +0800
Subject: [PATCH] 新增修改

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

diff --git a/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml b/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
index d4f59f0..d99142e 100644
--- a/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/ExExamRecordMapper.xml
@@ -58,6 +58,9 @@
             <if test="companyId!=null">
                 and a.company_id = #{companyId}
             </if>
+            <if test="planYear != null and planYear != ''">
+                AND YEAR(a.plan_date) = #{planYear}
+            </if>
         </where>
         order by a.id desc
     </select>

--
Gitblit v1.9.2