智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
@@ -21,6 +21,8 @@
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.InformationStatisticsVO;
import org.springblade.modules.information.vo.InformationVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
@@ -60,7 +62,19 @@
   Map<String, String> queryYearPz(String year,String jurisdiction,String deptid);
   Map<String, String> queryYearAn(String year,String jurisdiction,String deptid);
   List<Map<Object,Object>> queryCountB(String jurisdiction,String deptid);
   List selectLi(IPage page, String jurisdiction, String deptid,String stats,String startTime,String endTime);
   /**
    * 保安员统计查询
    * @param page
    * @param jurisdiction
    * @param deptid
    * @param stats
    * @param startTime
    * @param endTime
    * @return
    */
   List<InformationStatisticsVO> selectLi(IPage page, String jurisdiction, String deptid,String stats,String startTime,String endTime);
   List<Map<Object,Object>> queryCountZc(String jurisdiction,String deptid);
   List<Map<Object,Object>> queryCountCz(String jurisdiction,String deptid);
   List<Map<Object,Object>> queryCountSb(String jurisdiction,String deptid);
@@ -232,4 +246,90 @@
    * @return
    */
   List<Dept> getDeptHashChildren(@Param("information") InformationVO informationVO);
   List<Map<Object,Object>> selectBxc(IPage page, String jurisdiction,String type);
   /**
    * 查询单位的未派遣人数
    * @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 departmentid
    * @return
    */
   List<Dept> getDeptChildrens(String departmentid);
   /**
    * 保安员统计
    * @param jurisdiction 辖区id
    * @param deptid 部门名称
    * @param stats 公司类型
    * @param startTime 企业注册时间
    * @param endTime 企业注册时间
    * @return
    */
   List<ExportInformationSecurityStatistics> exportSecurityStatisInfo(String jurisdiction, String deptid, String stats, String startTime, String endTime);
   /**
    * 业务情况统计
    * @param jurisdiction 辖区id
    * @param deptid 部门名称
    * @param stats 公司类型
    * @param startTime 企业注册时间
    * @param endTime 企业注册时间
    * @return
    */
   List<ExportInformationExcel> exportBusinessStatis(String jurisdiction, String deptid, String stats, String startTime, String endTime);
   /**
    * 查询公司所有的父级
    * @param information
    * @return
    */
   List<String> getDeptDetails(@Param("information") InformationVO information);
   /**
    * 根据部门id 查询公司信息
    * @param s
    * @return
    */
   InformationVO getInformationDetails(@Param("deptId") String deptId);
}