| | |
| | | public R charts(@RequestParam("date")String date,@RequestParam("localCity")String localCity){ |
| | | return this.communityService.charts(date,localCity); |
| | | } |
| | | @GetMapping("/checkCommit") |
| | | public R checkCommit(){ |
| | | return this.comActAcidRecordService.checkCommit(this.getUserId()); |
| | | } |
| | | } |
| | |
| | | @PostMapping("/comActAcidRecord/export") |
| | | R exportComActAcidRecord(@RequestBody ComActAcidRecordDTO comActAcidRecordDTO); |
| | | |
| | | @GetMapping("/comActAcidRecord/checkCommit") |
| | | R checkCommit(@RequestParam(value = "userId",required = false)Long userId); |
| | | |
| | | |
| | | /** |
| | | * 5项常规统计 |
| | |
| | | public R test(){ |
| | | return this.comActAcidRecordService.test(); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/checkCommit") |
| | | public R checkCommit(@RequestParam(value = "userId",required = false)Long userId){ |
| | | return this.comActAcidRecordService.checkCommit(userId); |
| | | } |
| | | } |
| | |
| | | * @return |
| | | */ |
| | | R batchCheck(BatchCheckAcidRecordDTO batchCheckAcidRecordDTO); |
| | | |
| | | R checkCommit(Long userId); |
| | | } |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @Override |
| | | public R checkCommit(Long userId) { |
| | | if(userId!=null){ |
| | | List<ComActAcidRecord> comActAcidRecords= this.baseMapper.selectList(new QueryWrapper<ComActAcidRecord>().lambda().eq(ComActAcidRecord::getIsDel,0).eq(ComActAcidRecord::getUserId,userId).ge(ComActAcidRecord::getCreateTime, DateUtils.getCurrentDate(DateUtils.yyyyMMdd_format)).eq(ComActAcidRecord::getAcidTest,null)); |
| | | return R.ok(comActAcidRecords); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | | public static void areaCheck(ComCun area,ComStreetDO comStreetDO){ |
| | | switch (area.getArea()){ |
| | | case "西区": comStreetDO.setAreaCode(510423); break; |