From 30df94c05573a426d030510d4dd58ae1d93bfb7a Mon Sep 17 00:00:00 2001 From: tangzy <tangzy123456> Date: Mon, 06 Dec 2021 14:03:37 +0800 Subject: [PATCH] 1.资格审查排序 --- src/main/java/org/springblade/modules/information/service/IInformationService.java | 122 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 118 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/springblade/modules/information/service/IInformationService.java b/src/main/java/org/springblade/modules/information/service/IInformationService.java index db15b1d..2d57ef4 100644 --- a/src/main/java/org/springblade/modules/information/service/IInformationService.java +++ b/src/main/java/org/springblade/modules/information/service/IInformationService.java @@ -17,11 +17,13 @@ package org.springblade.modules.information.service; import org.apache.ibatis.annotations.Param; +import org.springblade.core.tool.api.R; import org.springblade.modules.dispatcher.vo.DispatcherVO; import org.springblade.modules.information.entity.Information; import org.springblade.modules.information.vo.InformationVO; import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.core.metadata.IPage; +import org.springblade.modules.information.vo.ResponseVo; import java.util.List; import java.util.Map; @@ -41,7 +43,7 @@ * @param information * @return */ - IPage<Information> selectInformationPage(IPage<Information> page, Information information); + IPage<InformationVO> selectInformationPage(IPage<InformationVO> page, InformationVO information); void deleteIn(String ids); void deleteSh(String ids); void deleteMe(String ids); @@ -71,17 +73,129 @@ Map selectWPcount(String jurisdiction,String deptid); List<Map<Object,Object>> selectIn(String jurisdiction); void deleteDept(String ids); - IPage selectLi(IPage<List> page,String jurisdiction, String deptid); + IPage selectLi(IPage<List> page,String jurisdiction, String deptid,String stats); List<Map<Object,Object>> seCountI(String jurisdiction,String deptid); String seCountUm(String jurisdiction,String deptid); String seCountUg(String jurisdiction,String deptid); Map<String, String> queryYearPz(String year,String jurisdiction,String deptid); IPage selectTb(IPage<List> page,String jurisdiction,String enterpriseName); IPage selectJj(IPage<List> page,String jurisdiction,String enterpriseName); - IPage selectYw(IPage<List> page,String jurisdiction,String deptid); - List<Map<Object,Object>> selectUIn(String deptid,String name,String hold,String photo,String examinationtype,String dispatch,String soil); + IPage selectYw(IPage<List> page,String jurisdiction,String deptid,String stats); + IPage selectUIn(IPage<List> page,String deptid,String name,String hold,String photo,String examinationtype,String dispatch,String soil); IPage selectDis(IPage<List> page,String jurisdiction,String deptid,String fid); List<Map<Object,Object>> selectFw(); List<Map<Object,Object>> selectCf(String jurisdiction); List<Map<Object,Object>> selectCl(String jurisdiction); + List<Map<Object,Object>> selectWg(String jurisdiction); + List<Map<Object,Object>> selectJy(String jurisdiction); + List<Map<Object,Object>> selectYs(String jurisdiction); + List<Map<Object,Object>> selectAge(String jurisdiction,String deptid); + List<Map<Object,Object>> selJur(); + String selJurchilder(String id); + List<Map<Object,Object>> seleJuList(String substring); + //派遣统计图表 + List<Map<String, Object>> seleP(String jurisdiction,String deptid); + /** + * 获取保安公司信息(本市保安公司,分公司)包含经纬度 + * @return + */ + List<InformationVO> getSecurityUnitPositionInfo(); + + /** + * 根据辖区查询保安公司分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitInfoPage(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计保安公司持证情况分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitHoldInfoPage(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计保安公司持证率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitHoldLess50Page(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计保安公司派遣率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitDispatcherLess50Page(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计保安公司社保缴纳率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitSoilLess50Page(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计保安公司考试通过率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitExamLess50Page(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计当前辖区下的保安公司(本市保安公司,分公司)预警信息,包含(未持证,现实表现差,未缴纳社保,资格审查异常) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSubstationWarnInfoPage(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计当前辖区下的保安公司(本市保安公司,分公司))服务对象小于2家的公司数量的分页信息 + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitServerLess2Page(IPage<InformationVO> page, InformationVO information); + + /** + * 根据辖区查询统计保安公司保险缴纳率低于90%的保安公司个数及保安公司分页信息(本市保安公司,分公司) + * @param page 分页条件 + * @param information 查询条件 + * @return + */ + IPage<InformationVO> getSecurityUnitInsuranceLessPage(IPage<InformationVO> page, InformationVO information); + + /** + * 统计表现差的信息 + * @return + */ + List<ResponseVo> getSecurityPerformanceGroupCountList(); + + /** + * 统计资格审查异常信息 + * @return + */ + List<ResponseVo> getSecurityExaminationGroupCountList(); + + /** + * 考试通过率低于50% + * @return + */ + List<ResponseVo> getSecurityExamPassingGroupCountList(); + + /** + * 查询 1 持证率低于50%, 2 社保缴纳率低于50%, 3 派遣率低于50% + * @param type 1 持证率低于50%, 2 社保缴纳率低于50%, 3 派遣率低于50% + * @return + */ + List<ResponseVo> getSecurityHoldAndSoidAndDispatchGroupCountList(Integer type); + IPage selectBxc(IPage<List> page,String jurisdiction,String type); } -- Gitblit v1.9.3