From 3293bbe787ec29543c85697de56f86177d983103 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 14 Sep 2021 19:32:17 +0800
Subject: [PATCH] 首页统计接口新增
---
src/main/java/org/springblade/modules/information/service/impl/InformationServiceImpl.java | 73 ++++++++++++++++++++++++++++++++++++
1 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/information/service/impl/InformationServiceImpl.java b/src/main/java/org/springblade/modules/information/service/impl/InformationServiceImpl.java
index a1ca48d..a634ab3 100644
--- a/src/main/java/org/springblade/modules/information/service/impl/InformationServiceImpl.java
+++ b/src/main/java/org/springblade/modules/information/service/impl/InformationServiceImpl.java
@@ -286,5 +286,78 @@
return baseMapper.seleJuList(substring);
}
+ /**
+ * 获取保安公司信息(本市保安公司,分公司)包含经纬度
+ * @return
+ */
+ @Override
+ public List<InformationVO> getSecurityUnitPositionInfo() {
+ return baseMapper.getSecurityUnitPositionInfo();
+ }
+ /**
+ * 根据辖区查询保安公司分页信息(本市保安公司,分公司)
+ * @param page 分页条件
+ * @param information 查询条件
+ * @return
+ */
+ @Override
+ public IPage<InformationVO> getSecurityUnitInfoPage(IPage<InformationVO> page, InformationVO information) {
+ return page.setRecords(baseMapper.getSecurityUnitInfoPage(page, information));
+ }
+
+ /**
+ * 根据辖区查询统计保安公司持证情况分页信息(本市保安公司,分公司)
+ * @param page 分页条件
+ * @param information 查询条件
+ * @return
+ */
+ @Override
+ public IPage<InformationVO> getSecurityUnitHoldInfoPage(IPage<InformationVO> page, InformationVO information) {
+ return page.setRecords(baseMapper.getSecurityUnitHoldInfoPage(page, information));
+ }
+
+ /**
+ * 根据辖区查询统计保安公司持证率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司)
+ * @param page 分页条件
+ * @param information 查询条件
+ * @return
+ */
+ @Override
+ public IPage<InformationVO> getSecurityUnitHoldLess50Page(IPage<InformationVO> page, InformationVO information) {
+ return page.setRecords(baseMapper.getSecurityUnitLess50Page(page,1,information));
+ }
+
+ /**
+ * 根据辖区查询统计保安公司派遣率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司)
+ * @param page 分页条件
+ * @param information 查询条件
+ * @return
+ */
+ @Override
+ public IPage<InformationVO> getSecurityUnitDispatcherLess50Page(IPage<InformationVO> page, InformationVO information) {
+ return page.setRecords(baseMapper.getSecurityUnitLess50Page(page,2, information));
+ }
+
+ /**
+ * 根据辖区查询统计保安公司社保缴纳率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司)
+ * @param page 分页条件
+ * @param information 查询条件
+ * @return
+ */
+ @Override
+ public IPage<InformationVO> getSecurityUnitSoilLess50Page(IPage<InformationVO> page, InformationVO information) {
+ return page.setRecords(baseMapper.getSecurityUnitLess50Page(page,3, information));
+ }
+
+ /**
+ * 根据辖区查询统计保安公司考试通过率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司)
+ * @param page 分页条件
+ * @param information 查询条件
+ * @return
+ */
+ @Override
+ public IPage<InformationVO> getSecurityUnitExamLess50Page(IPage<InformationVO> page, InformationVO information) {
+ return page.setRecords(baseMapper.getSecurityUnitExamLess50Page(page, information));
+ }
}
--
Gitblit v1.9.3