| | |
| | | comSwPatrolRecordPageDTO.setPatrolPerson(String.valueOf(this.getLoginUserInfo().getPhone())); |
| | | } |
| | | comSwPatrolRecordPageDTO.setCommunityId(communityId); |
| | | comSwPatrolRecordPageDTO.setAreaCode(this.getAreaCode()); |
| | | return communityService.pagePatrolRecord(comSwPatrolRecordPageDTO); |
| | | } |
| | | |
| | |
| | | public R pageDangerReport(@RequestBody ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO) { |
| | | Long communityId = this.getCommunityId(); |
| | | comSwPatrolRecordPageDTO.setCommunityId(communityId); |
| | | comSwPatrolRecordPageDTO.setAreaCode(this.getAreaCode()); |
| | | return communityService.pageDangerReport(comSwPatrolRecordPageDTO); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "根据日期查询值班人员") |
| | | @GetMapping("/app/getRotaPersonByDate") |
| | | public R getRotaPersonByDate(@RequestParam(value = "rotaDate") String rotaDate) { |
| | | return communityService.getRotaPersonByDate(rotaDate); |
| | | return communityService.getRotaPersonByDate(rotaDate,this.getCommunityId()); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperation(value = "根据日期查询值班领导") |
| | | @GetMapping("/app/getRotaLeaderByDate") |
| | | public R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate) { |
| | | return communityService.getRotaLeaderByDate(rotaDate); |
| | | return communityService.getRotaLeaderByDate(rotaDate,this.getCommunityId()); |
| | | } |
| | | |
| | | /** |