From 19f40c8e0649ae81b3f0183a6f4c8aa6c3db39bc Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 18 Nov 2021 17:54:37 +0800
Subject: [PATCH] 证书打印信息导出修改,已过考试的,系统每天凌晨1点定时清理,标记为缺考,并生成缺考记录,保安员导入新增年龄判断,超过60岁的不能导入
---
src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml | 17 +++++++++++++++++
1 files changed, 17 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 a698877..3608143 100644
--- a/src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml
+++ b/src/main/java/org/springblade/modules/recruitment/mapper/RecruitmentMapper.xml
@@ -12,11 +12,28 @@
blade_dept bt
ON
sr.dept_id = bt.id
+ left join
+ sys_information si
+ on
+ si.departmentid = bt.id
+ left join
+ sys_jurisdiction sj
+ on
+ sj.id = si.jurisdiction
WHERE
1=1
+ <if test="recruitment.jurisdiction!=null and recruitment.jurisdiction!='' and recruitment.jurisdiction!='1372091709474910209'">
+ and (sj.id = #{recruitment.jurisdiction} or sj.parent_id = #{recruitment.jurisdiction})
+ </if>
<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>
--
Gitblit v1.9.3