From 1d51512c49e89a84c4042a9e3fa48fc4bf438056 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 14 Dec 2021 10:01:40 +0800
Subject: [PATCH] 1. 新增保安员统计查询,业务情况统计查询 2. 新增保安员统计导出,业务情况统计导出
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.java | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 103 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 eaa76f6..eccd163 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
@@ -20,6 +20,9 @@
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.information.entity.Information;
+import org.springblade.modules.information.excel.ExportInformationExcel;
+import org.springblade.modules.information.excel.ExportInformationSecurityStatistics;
+import org.springblade.modules.information.vo.InformationStatisticsVO;
import org.springblade.modules.information.vo.InformationVO;
import org.springblade.modules.system.entity.Dept;
@@ -98,4 +101,104 @@
* @return
*/
int selectInformationHoldNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 业务统计情况
+ * @param page
+ * @param information
+ * @return
+ */
+ List<InformationStatisticsVO> selectBusinessStatistics(@Param("page")IPage page,@Param("information") InformationVO information);
+
+ /**
+ * 查询当前单位是否有子级单位
+ * @param informationStatisticsVO
+ * @return
+ */
+ List<Dept> getDeptHashChildrens(@Param("information") InformationStatisticsVO informationStatisticsVO);
+
+ /**
+ * 服务单位数
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 服务单位到期数
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitExpireNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 查询单位的未派遣人数
+ * @param dept
+ * @return
+ */
+ Integer selectInformationNotDispatcherNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 查询单位的已采集照片人数
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitAvatarNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 查询单位的未采集照片人数
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitNotAvatarNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 已采集指纹
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitZwNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 审查异常
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitYcNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 缴纳社保
+ * @param dept
+ * @return
+ */
+ Integer selectInformationUnitJnsbNumCount(@Param("dept")Dept dept);
+
+ /**
+ * 保安员情况统计
+ * @param page
+ * @param information
+ * @return
+ */
+ List<InformationStatisticsVO> selectSecurityStatistics(@Param("page") IPage page, @Param("information") InformationVO information);
+
+ /**
+ * 查询部门信息
+ * @param departmentid
+ * @return
+ */
+ List<Dept> getDeptChildrens(String departmentid);
+
+ /**
+ * 保安员统计导出
+ * @param information
+ * @return
+ */
+ List<ExportInformationSecurityStatistics> exportSecurityStatisInfo(@Param("information") InformationVO information);
+
+ /**
+ * 业务情况统计导出
+ * @param information
+ * @return
+ */
+ List<ExportInformationExcel> exportBusinessStatis(@Param("information") InformationVO information);
}
--
Gitblit v1.9.3