Merge remote-tracking branch 'origin/master'
| | |
| | | |
| | | |
| | | @GetMapping("/oauth/logout") |
| | | @ApiLog("用户登出") |
| | | @ApiOperation(value = "退出登录") |
| | | public Kv logout() { |
| | | BladeUser user = AuthUtil.getUser(); |
| | |
| | | and es.qualified = #{examScore.qualified} |
| | | </if> |
| | | <if test="examScore.startTime!=null and examScore.startTime!=''"> |
| | | and es.exam_time >= #{examScore.startTime} |
| | | and bu.paper_time >= #{examScore.startTime} |
| | | </if> |
| | | <if test="examScore.endTime!=null and examScore.endTime!=''"> |
| | | and es.exam_time <= #{examScore.endTime} |
| | | and bu.paper_time <= #{examScore.endTime} |
| | | </if> |
| | | order by es.id desc |
| | | </select> |
| | |
| | | * 保安员统计 |
| | | */ |
| | | @PostMapping("/selectLi") |
| | | public R<IPage> selectLi(String jurisdiction, String deptid, String stats, Query query) { |
| | | IPage list = informationService.selectLi(Condition.getPage(query), jurisdiction, deptid, stats); |
| | | public R<IPage> selectLi(String jurisdiction, String deptid, String stats,String startTime,String endTime, Query query) { |
| | | IPage list = informationService.selectLi(Condition.getPage(query), jurisdiction, deptid, stats,startTime,endTime); |
| | | return R.data(list); |
| | | } |
| | | |
| | |
| | | * 业务统计情况 |
| | | */ |
| | | @PostMapping("/selectYw") |
| | | public R<IPage> selectYw(String jurisdiction, String deptid, String stats, Query query) { |
| | | public R<IPage> selectYw(String jurisdiction, String deptid, String stats,String startTime,String endTime,Query query) { |
| | | if (jurisdiction.equals("1372091709474910209") || "".equals(jurisdiction)) { |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdiction, deptid, stats); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdiction, deptid, stats,startTime,endTime); |
| | | return R.data(list); |
| | | } else { |
| | | String childer = informationService.selJurchilder(jurisdiction); |
| | |
| | | strArrays += "'" + split[j] + "',"; |
| | | } |
| | | String jurisdictiond = strArrays.substring(0, strArrays.length() - 1); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdictiond, deptid, stats); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdictiond, deptid, stats,startTime,endTime); |
| | | return R.data(list); |
| | | } |
| | | } |
| | |
| | | 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); |
| | | List 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); |
| | | List<Map<Object,Object>> queryCountKh(String jurisdiction,String deptid); |
| | | List<Map<Object,Object>> queryCountPq(String jurisdiction,String deptid); |
| | | List<Map<String, Object>> seleP(String jurisdiction,String deptid); |
| | | List selectYw(IPage page,String jurisdiction,String deptid,String stats); |
| | | List selectYw(IPage page,String jurisdiction,String deptid,String stats,String startTime,String endTime); |
| | | List selectUIn(IPage page,String deptid,String name,String hold,String photo,String examinationtype,String dispatch,String soil); |
| | | List<Map<Object,Object>> selectJur(); |
| | | int selectExtypeUser(); |
| | |
| | | A.stats, |
| | | j.dept_name AS jurname |
| | | FROM |
| | | ( SELECT jurisdiction, departmentid,enterpriseName,stats FROM sys_information ) A |
| | | ( SELECT jurisdiction, departmentid,enterpriseName,stats,create_time FROM sys_information ) A |
| | | LEFT JOIN ( |
| | | SELECT |
| | | COUNT( * ) AS num, |
| | |
| | | </if> |
| | | <if test="stats!=null and stats!=''"> |
| | | and A.stats =#{stats} |
| | | </if> |
| | | <if test="startTime!=null and startTime!=''"> |
| | | and A.create_time >= #{startTime} |
| | | </if> |
| | | <if test="endTime!=null and endTime!=''"> |
| | | and A.create_time <= #{endTime} |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | i.departmentid, |
| | | i.stats, |
| | | i.jurisdiction, |
| | | j.dept_name |
| | | j.dept_name, |
| | | i.create_time |
| | | FROM |
| | | sys_information i |
| | | LEFT JOIN sys_jurisdiction j ON i.jurisdiction = j.id |
| | |
| | | <if test="stats!=null and stats!=''"> |
| | | and A.stats=#{stats} |
| | | </if> |
| | | <if test="startTime!=null and startTime!=''"> |
| | | and A.create_time >= #{startTime} |
| | | </if> |
| | | <if test="endTime!=null and endTime!=''"> |
| | | and A.create_time <= #{endTime} |
| | | </if> |
| | | </select> |
| | | |
| | | <!--保安人员详情--> |
| | |
| | | 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); |
| | | 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); |
| | | 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(); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public IPage selectLi(IPage page,String jurisdiction, String deptid,String stats) { |
| | | return page.setRecords(baseMapper.selectLi(page,jurisdiction, deptid,stats)); |
| | | public IPage selectLi(IPage page,String jurisdiction, String deptid,String stats,String startTime,String endTime) { |
| | | return page.setRecords(baseMapper.selectLi(page,jurisdiction, deptid,stats,startTime,endTime)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public IPage selectYw(IPage page,String jurisdiction, String deptid,String stats) { |
| | | return page.setRecords(baseMapper.selectYw(page,jurisdiction, deptid,stats)); |
| | | public IPage selectYw(IPage page,String jurisdiction, String deptid,String stats,String startTime,String endTime) { |
| | | return page.setRecords(baseMapper.selectYw(page,jurisdiction, deptid,stats,startTime,endTime)); |
| | | } |
| | | |
| | | @Override |