智慧保安后台管理项目备份
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
/*
 *      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<Information> {
 
    /**
     * 自定义分页
     *
     * @param page
     * @param information
     * @return
     */
    IPage<InformationVO> selectInformationPage(IPage<InformationVO> page, InformationVO information);
    void deleteIn(String ids);
    void deleteSh(String ids);
    void deleteMe(String ids);
    Map selectCount(String departmentid);
    List<Map<Object,String>> selectInCount(String jurisdiction,String deptid);
    List<Map<String, Object>> selectCs(String jurisdiction,String deptid);
    List<Map<String, Object>> selectTo(String jurisdiction,String deptid);
    Map<String, String> queryYearSoil(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<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);
    List<Map<Object,Object>> queryCountKh(String jurisdiction,String deptid);
    List<Map<Object,Object>> queryCountPq(String jurisdiction,String deptid);
    Map<String, String> queryYearZ(String year,String jurisdiction,String deptid);
    Map<String, String> queryYearZc(String year,String jurisdiction,String deptid);
    Map<String, String> queryYearCz(String year,String jurisdiction,String deptid);
    Map<String, String> queryYearKh(String year,String jurisdiction,String deptid);
    Map<String, String> queryYearBanan(String year,String jurisdiction,String deptid);
    List<Map<Object,Object>> selectExtype(String jurisdiction,String deptid,String type);
    List<Map<Object,Object>> selectJur();
    int selectExtypeUser();
    List<Map<Object,Object>> selectBx(String jurisdiction,String deptid,String type);
    Map<String, String> queryYearDe(String year,String jurisdiction,String deptid);
    Map selectPcount(String jurisdiction,String deptid);
    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,String stats,String startTime,String endTime);
    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,String stats,String startTime,String endTime);
    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);
 
    /**
     * 获取保安公司信息(本市保安公司,分公司)包含经纬度
     * @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);
 
    /**
     * 分局表现差的数量
     * @param jurisdiction
     * @return
     */
    List<Map<Object,Object>> selectBxs(String jurisdiction);
    List<Map<String, Object>> seleP(String jurisdiction,String deptid);
 
    /**
     * 统计表现差的信息
     * @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);
    List<Map<Object,Object>> seleFj(String jurisdiction);
    IPage selectBxc(IPage<List> page,String jurisdiction,String type);
 
    /**
     * 保安员统计
     * @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
     */
    Object getInformationDetails(InformationVO information);
 
}