From dca2532f01dac86be25ad09fa9ee8035bccdca6a Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Sat, 27 Nov 2021 17:11:33 +0800
Subject: [PATCH] 1.部门tree修改 2.用户查询修改 3.培训报名年龄拦截
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.java | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 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 ba4bb88..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;
@@ -68,4 +69,33 @@
* @param deptId
*/
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