From cc9384035ae8b71b33e866e0690b0bc65fa02135 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 03 Jan 2024 09:30:39 +0800
Subject: [PATCH] 根据身份证、保安证编号获取用户;微信注册修改为限定身份证号不能重复
---
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