智慧保安后台管理-验收版本
Administrator
2021-09-15 a841e7d34df4edf9955da8e1db09ed8de079ad95
src/main/java/org/springblade/modules/information/service/impl/InformationServiceImpl.java
@@ -38,7 +38,7 @@
public class InformationServiceImpl extends ServiceImpl<InformationMapper, Information> implements IInformationService {
   @Override
   public IPage<Information> selectInformationPage(IPage<Information> page, Information information) {
   public IPage<InformationVO> selectInformationPage(IPage<InformationVO> page, InformationVO information) {
      return page.setRecords(baseMapper.selectInformationPage(page, information));
   }
@@ -187,8 +187,8 @@
   }
   @Override
   public IPage selectLi(IPage page,String jurisdiction, String deptid) {
      return page.setRecords(baseMapper.selectLi(page,jurisdiction, deptid));
   public IPage selectLi(IPage page,String jurisdiction, String deptid,String stats) {
      return page.setRecords(baseMapper.selectLi(page,jurisdiction, deptid,stats));
   }
   @Override
@@ -222,13 +222,13 @@
   }
   @Override
   public IPage selectYw(IPage page,String jurisdiction, String deptid) {
      return page.setRecords(baseMapper.selectYw(page,jurisdiction, deptid));
   public IPage selectYw(IPage page,String jurisdiction, String deptid,String stats) {
      return page.setRecords(baseMapper.selectYw(page,jurisdiction, deptid,stats));
   }
   @Override
   public List<Map<Object, Object>> selectUIn(String deptid, String name, String hold, String photo, String examinationtype, String dispatch,String soil) {
      return baseMapper.selectUIn(deptid, name, hold, photo, examinationtype, dispatch,soil);
   public IPage selectUIn(IPage page,String deptid, String name, String hold, String photo, String examinationtype, String dispatch,String soil) {
      return page.setRecords(baseMapper.selectUIn(page,deptid, name, hold, photo, examinationtype, dispatch,soil));
   }
   @Override
@@ -251,5 +251,146 @@
      return baseMapper.selectCl(jurisdiction);
   }
   @Override
   public List<Map<Object,Object>> selectWg(String jurisdiction) {
      return baseMapper.selectWg(jurisdiction);
   }
   @Override
   public List<Map<Object, Object>> selectJy(String jurisdiction) {
      return baseMapper.selectJy(jurisdiction);
   }
   @Override
   public List<Map<Object, Object>> selectYs(String jurisdiction) {
      return baseMapper.selectYs(jurisdiction);
   }
   @Override
   public List<Map<Object, Object>> selectAge(String jurisdiction, String deptid) {
      return baseMapper.selectAge(jurisdiction, deptid);
   }
   @Override
   public List<Map<Object, Object>> selJur() {
      return baseMapper.selJur();
   }
   @Override
   public String selJurchilder(String id) {
      return baseMapper.selJurchilder(id);
   }
   @Override
   public List<Map<Object, Object>> seleJuList(String substring) {
      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));
   }
   /**
    * 根据辖区查询统计当前辖区下的保安公司(本市保安公司,分公司)预警信息,包含(未持证,现实表现差,未缴纳社保,资格审查异常)
    * @param page  分页条件
    * @param information 查询条件
    * @return
    */
   @Override
   public IPage<InformationVO> getSubstationWarnInfoPage(IPage<InformationVO> page, InformationVO information) {
      return page.setRecords(baseMapper.getSubstationWarnInfoPage(page, information));
   }
   /**
    * 根据辖区查询统计当前辖区下的保安公司(本市保安公司,分公司))服务对象小于2家的公司数量的分页信息
    * @param page  分页条件
    * @param information 查询条件
    * @return
    */
   @Override
   public IPage<InformationVO> getSecurityUnitServerLess2Page(IPage<InformationVO> page, InformationVO information) {
      return page.setRecords(baseMapper.getSecurityUnitServerLess2Page(page, information));
   }
   /**
    * 根据辖区查询统计保安公司保险缴纳率低于90%的保安公司个数及保安公司分页信息(本市保安公司,分公司)
    * @param page  分页条件
    * @param information 查询条件
    * @return
    */
   @Override
   public IPage<InformationVO> getSecurityUnitInsuranceLessPage(IPage<InformationVO> page, InformationVO information) {
      return page.setRecords(baseMapper.getSecurityUnitLess50Page(page,4, information));
   }
}