/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.information.service; import org.apache.ibatis.annotations.Param; import org.springblade.modules.dispatcher.vo.DispatcherVO; 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.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; /** * 服务类 * * @author BladeX * @since 2021-07-07 */ public interface IInformationService extends IService { /** * 自定义分页 * * @param page * @param information * @return */ IPage selectInformationPage(IPage page, InformationVO information); void deleteIn(String ids); void deleteSh(String ids); void deleteMe(String ids); Map selectCount(String departmentid); List> selectInCount(String jurisdiction,String deptid); List> selectCs(String jurisdiction,String deptid); List> selectTo(String jurisdiction,String deptid); Map queryYearSoil(String year,String jurisdiction,String deptid); Map queryYearAn(String year,String jurisdiction,String deptid); List> queryCountB(String jurisdiction,String deptid); List> queryCountZc(String jurisdiction,String deptid); List> queryCountCz(String jurisdiction,String deptid); List> queryCountSb(String jurisdiction,String deptid); List> queryCountKh(String jurisdiction,String deptid); List> queryCountPq(String jurisdiction,String deptid); Map queryYearZ(String year,String jurisdiction,String deptid); Map queryYearZc(String year,String jurisdiction,String deptid); Map queryYearCz(String year,String jurisdiction,String deptid); Map queryYearKh(String year,String jurisdiction,String deptid); Map queryYearBanan(String year,String jurisdiction,String deptid); List> selectExtype(String jurisdiction,String deptid,String type); List> selectJur(); int selectExtypeUser(); List> selectBx(String jurisdiction,String deptid,String type); Map queryYearDe(String year,String jurisdiction,String deptid); Map selectPcount(String jurisdiction,String deptid); Map selectWPcount(String jurisdiction,String deptid); List> selectIn(String jurisdiction); void deleteDept(String ids); IPage selectLi(IPage page,String jurisdiction, String deptid,String stats,String startTime,String endTime); List> seCountI(String jurisdiction,String deptid); String seCountUm(String jurisdiction,String deptid); String seCountUg(String jurisdiction,String deptid); Map queryYearPz(String year,String jurisdiction,String deptid); IPage selectTb(IPage page,String jurisdiction,String enterpriseName); IPage selectJj(IPage page,String jurisdiction,String enterpriseName); IPage selectYw(IPage page,String jurisdiction,String deptid,String stats,String startTime,String endTime); IPage selectUIn(IPage page,String deptid,String name,String hold,String photo,String examinationtype,String dispatch,String soil); IPage selectDis(IPage page,String jurisdiction,String deptid,String fid); List> selectFw(); List> selectCf(String jurisdiction); List> selectCl(String jurisdiction); List> selectWg(String jurisdiction); List> selectJy(String jurisdiction); List> selectYs(String jurisdiction); List> selectAge(String jurisdiction,String deptid); List> selJur(); String selJurchilder(String id); List> seleJuList(String substring); /** * 获取保安公司信息(本市保安公司,分公司)包含经纬度 * @return */ List getSecurityUnitPositionInfo(); /** * 根据辖区查询保安公司分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitInfoPage(IPage page, InformationVO information); /** * 根据辖区查询统计保安公司持证情况分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitHoldInfoPage(IPage page, InformationVO information); /** * 根据辖区查询统计保安公司持证率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitHoldLess50Page(IPage page, InformationVO information); /** * 根据辖区查询统计保安公司派遣率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitDispatcherLess50Page(IPage page, InformationVO information); /** * 根据辖区查询统计保安公司社保缴纳率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitSoilLess50Page(IPage page, InformationVO information); /** * 根据辖区查询统计保安公司考试通过率低于50%的保安公司个数及保安公司分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitExamLess50Page(IPage page, InformationVO information); /** * 根据辖区查询统计当前辖区下的保安公司(本市保安公司,分公司)预警信息,包含(未持证,现实表现差,未缴纳社保,资格审查异常) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSubstationWarnInfoPage(IPage page, InformationVO information); /** * 根据辖区查询统计当前辖区下的保安公司(本市保安公司,分公司))服务对象小于2家的公司数量的分页信息 * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitServerLess2Page(IPage page, InformationVO information); /** * 根据辖区查询统计保安公司保险缴纳率低于90%的保安公司个数及保安公司分页信息(本市保安公司,分公司) * @param page 分页条件 * @param information 查询条件 * @return */ IPage getSecurityUnitInsuranceLessPage(IPage page, InformationVO information); /** * 分局表现差的数量 * @param jurisdiction * @return */ List> selectBxs(String jurisdiction); List> seleP(String jurisdiction,String deptid); /** * 统计表现差的信息 * @return */ List getSecurityPerformanceGroupCountList(); /** * 统计资格审查异常信息 * @return */ List getSecurityExaminationGroupCountList(); /** * 考试通过率低于50% * @return */ List getSecurityExamPassingGroupCountList(); /** * 查询 1 持证率低于50%, 2 社保缴纳率低于50%, 3 派遣率低于50% * @param type 1 持证率低于50%, 2 社保缴纳率低于50%, 3 派遣率低于50% * @return */ List getSecurityHoldAndSoidAndDispatchGroupCountList(Integer type); List> seleFj(String jurisdiction); IPage selectBxc(IPage page,String jurisdiction,String type); /** * 保安员统计 * @param jurisdiction 辖区id * @param deptid 部门名称 * @param stats 公司类型 * @param startTime 企业注册时间 * @param endTime 企业注册时间 * @return */ List exportSecurityStatisInfo(String jurisdiction, String deptid, String stats, String startTime, String endTime); /** * 业务情况统计 * @param jurisdiction 辖区id * @param deptid 部门名称 * @param stats 公司类型 * @param startTime 企业注册时间 * @param endTime 企业注册时间 * @return */ List exportBusinessStatis(String jurisdiction, String deptid, String stats, String startTime, String endTime); /** * 获取部门信息() * @param information * @return */ Object getInformationDetails(InformationVO information); }