From 2d9bf42ce507096c3b73a782da3ad16f29d2ccdc Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Thu, 07 May 2026 15:25:16 +0800
Subject: [PATCH] 新增年份查询
---
multi-system/src/main/resources/mapper/system/InternalAuditPersonMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/InternalAuditPersonMapper.xml b/multi-system/src/main/resources/mapper/system/InternalAuditPersonMapper.xml
index e936689..4d9dc76 100644
--- a/multi-system/src/main/resources/mapper/system/InternalAuditPersonMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/InternalAuditPersonMapper.xml
@@ -6,6 +6,7 @@
SELECT
iap.`id`,
iap.`company_id`,
+ iap.`year`,
sc.`name` as company_name,
iap.`person_id`,
es.`name` as person_name,
@@ -26,6 +27,9 @@
<if test="companyId!=null and companyId!=''">
and iap.company_id = #{companyId}
</if>
+ <if test="year !=null and year !=''">
+ and iap.`year` = #{year}
+ </if>
ORDER BY iap.create_time ASC
</select>
</mapper>
--
Gitblit v1.9.2