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/MaterialMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/MaterialMapper.xml b/multi-system/src/main/resources/mapper/system/MaterialMapper.xml
index e95e6b0..e81d97b 100644
--- a/multi-system/src/main/resources/mapper/system/MaterialMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/MaterialMapper.xml
@@ -13,6 +13,9 @@
<if test="inventory != null">
and inventory = #{inventory}
</if>
+ <if test="year!=null and year!=''">
+ and `year` = #{year}
+ </if>
order by update_time desc
</select>
--
Gitblit v1.9.2