From db5a5583d99abbfca0fddba5218c4e811547d98c Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 01 Jun 2026 18:30:26 +0800
Subject: [PATCH] fix(security): 临时禁用考试相关接口的路径排除配置
---
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