From 0af331c7df1f4e3365b3cb5abd60eaaa09807513 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Thu, 16 Sep 2021 09:01:41 +0800
Subject: [PATCH] 1.社保

---
 src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml b/src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml
index 0a6cbb3..a3f6648 100644
--- a/src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml
+++ b/src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml
@@ -17,6 +17,12 @@
         <if test="recruitment.tenantName!=null and  recruitment.tenantName!=''">
             and bt.dept_name like concat('%', #{recruitment.tenantName},'%')
         </if>
+        <if test="recruitment.welfare!=null and  recruitment.welfare!=''">
+            and sr.welfare like concat('%', #{recruitment.welfare},'%')
+        </if>
+        <if test="recruitment.unitsScale!=null and  recruitment.unitsScale!=''">
+            and sr.units_scale like concat('%', #{recruitment.unitsScale},'%')
+        </if>
         <if test="recruitment.province!=null">
             and sr.province = #{recruitment.province}
         </if>
@@ -29,6 +35,9 @@
         <if test="recruitment.permit!=null">
             and sr.permit = #{recruitment.permit}
         </if>
+        <if test="recruitment.deptId!=null">
+            and sr.dept_id = #{recruitment.deptId}
+        </if>
         <if test="recruitment.education!=null and recruitment.education!=''">
             and sr.education = #{recruitment.education}
         </if>

--
Gitblit v1.9.3