From 6bd7ffcfcb0b5fb8dd1a5e95e78b07d9bb161f19 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 19 Aug 2021 12:06:15 +0800
Subject: [PATCH] 1.用户注册接口修改 2.保安公司列表查询接口修改
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
index 258cd79..d95b7fb 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -124,6 +124,8 @@
) B ON A.dept_id = B.dept_id
WHERE A.dept_id = #{deptid}
</select>
+
+
<!--保安员持证和未持证数量-->
<select id="selectHold" resultType="java.util.HashMap">
SELECT IFNULL(A.thisnum, 0) AS cz,
@@ -175,20 +177,13 @@
blade_dept bd
on
si.departmentid = bd.id
- left join
- sys_train_exam ste
- on
- ste.dept_id = bd.id
where 1=1
- and ste.audit_status = 1
+ and bd.dept_category = 3
<if test="information.deptName!=null and information.deptName!=''">
and bd.dept_name like concat(concat('%', #{information.deptName}),'%')
</if>
<if test="information.representative!=null and information.representative!=''">
and representative like concat(concat('%', #{information.representative}),'%')
- </if>
- <if test="information.stats!=null and information.stats!=''">
- and stats=#{stats}
</if>
<if test="information.jurisdiction!=null and information.jurisdiction!=''">
and si.jurisdiction=#{jurisdiction}
--
Gitblit v1.9.3