| | |
| | | */ |
| | | @GetMapping("{id}") |
| | | public R selectOne(@PathVariable("id") Long id) { |
| | | return R.ok(this.comActAcidRecordService.getById(id)); |
| | | return this.comActAcidRecordService.detailByCommunity(id); |
| | | } |
| | | |
| | | /** |
| | |
| | | public R update(@RequestBody ComActAcidRecordVO comActAcidRecordVO) { |
| | | return this.comActAcidRecordService.updateLocalCity(comActAcidRecordVO); |
| | | } |
| | | |
| | | /** |
| | | * 小程序修改填报记录 |
| | | * |
| | | * @param comActAcidRecordVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/updateApplets") |
| | | public R updateApplets(@RequestBody ComActAcidRecordVO comActAcidRecordVO) { |
| | | return this.comActAcidRecordService.updateApplets(comActAcidRecordVO); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 删除数据 |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping("fiveCountPlus") |
| | | public R fiveCountPlus(@RequestParam("date")String date,@RequestParam("localCity")String localCity){ |
| | | return this.comActAcidRecordService.fiveCountPlus(date,localCity); |
| | | public R fiveCountPlus(@RequestParam("date")String date,@RequestParam("localCity")String localCity,@RequestParam(value = "loginAccount",required = false)String loginAccount){ |
| | | return this.comActAcidRecordService.fiveCountPlus(date,localCity,loginAccount); |
| | | } |
| | | |
| | | /** |
| | | * 图标统计 |
| | | * @return |
| | | */ |
| | | @GetMapping("charts") |
| | | public R charts(@RequestParam("date")String date,@RequestParam("localCity")String localCity){ |
| | | return this.comActAcidRecordService.charts(date,localCity); |
| | | } |
| | | |
| | | @GetMapping("/statics") |
| | | public R statics(@RequestParam("date")String date){ |
| | | return this.comActAcidRecordService.statics(date); |
| | | } |
| | | |
| | | @GetMapping("/detailByApp") |
| | | public R detailByApp(@RequestParam("id")Long id,@RequestParam("localCity")String localCity){ |
| | | return this.comActAcidRecordService.detailByApp(id,localCity); |
| | | } |
| | | @GetMapping("/test") |
| | | public R test(){ |
| | | return this.comActAcidRecordService.test(); |
| | | } |
| | | } |