From d4ad4cd6c127aa5944685c4aa098e0015139e1a4 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 23 Nov 2021 22:25:06 +0800
Subject: [PATCH] 1.保安公司查询修改 2.报名列表修改 3.考试列表查询修改 4.保安员导入修改

---
 src/main/java/org/springblade/modules/information/mapper/InformationMapper.java |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.java b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
index 6cfd5c4..eaa76f6 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
@@ -21,6 +21,7 @@
 import org.apache.ibatis.annotations.Param;
 import org.springblade.modules.information.entity.Information;
 import org.springblade.modules.information.vo.InformationVO;
+import org.springblade.modules.system.entity.Dept;
 
 import java.util.List;
 import java.util.Map;
@@ -69,4 +70,32 @@
 	 */
     void deleteUserByDeptId(@Param("deptId") String deptId);
 	String selJurchilder(String id);
+
+	/**
+	 * 查询当前单位是否有子级单位
+	 * @param informationVO
+	 * @return
+	 */
+	List<Dept> getDeptHashChildren(@Param("information") InformationVO informationVO);
+
+	/**
+	 * 查询单位的人数
+	 * @param dept
+	 * @return
+	 */
+	int selectInformationUserNumCount(@Param("dept")Dept dept);
+
+	/**
+	 * 查询单位的已派遣人数
+	 * @param dept
+	 * @return
+	 */
+	int selectInformationDispatcherNumCount(@Param("dept")Dept dept);
+
+	/**
+	 * 查询单位持证的人数
+	 * @param dept
+	 * @return
+	 */
+	int selectInformationHoldNumCount(@Param("dept")Dept dept);
 }

--
Gitblit v1.9.3