From 62eb499b0c969f246d3245d1429a97da4de1ce28 Mon Sep 17 00:00:00 2001
From: 钟日健 <arsn163@163.com>
Date: Mon, 01 Jun 2026 20:46:13 +0800
Subject: [PATCH] feat: 成绩查询增加年龄查询返回

---
 src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml b/src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml
index 54711e4..9f4fabb 100644
--- a/src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml
+++ b/src/main/java/org/springblade/modules/post/mapper/PostFilingMapper.xml
@@ -14,4 +14,15 @@
         </if>
         ORDER BY duty_time ASC
     </select>
+    <select id="getAll" resultType="org.springblade.modules.post.entity.PostFiling">
+        select * from sys_post_filing
+        where is_deleted = 0
+        <if test="postFiling.type!=null">
+            and type = #{postFiling.type}
+        </if>
+        <if test="postFiling.name!=null and postFiling.name!=''">
+            and name like concat('%',#{postFiling.name},'%')
+        </if>
+        ORDER BY duty_time ASC
+    </select>
 </mapper>

--
Gitblit v1.9.3