| | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.enums.SanShuoEventStatusEnum; |
| | | import com.panzhihua.common.model.dtos.community.sanshuo.IndexDateDTO; |
| | | import com.panzhihua.common.model.dtos.user.IndexDataDTO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.sanshuo.ComEventArchiveVO; |
| | |
| | | public R remove(@PathVariable Long id) { |
| | | ComEvent comEvent = new ComEvent(); |
| | | comEvent.setId(id); |
| | | comEvent.setEventProcessStatus(8); |
| | | comEvent.setEventProcessStatus(9); |
| | | return comEventService.updateComEvent(comEvent); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParam(name = "specterId", value = "专家ID", required = true, dataType = "Long"), |
| | | }) |
| | | @PutMapping("/accept/Request") |
| | | public R acceptRequest(@RequestParam("id") Long id,@RequestParam("specterId") Long specterId) { |
| | | public R acceptRequest(@RequestParam("id") Long id, @RequestParam("specterId") Long specterId) { |
| | | return comEventService.acceptRequest(id, specterId); |
| | | } |
| | | |
| | |
| | | @ApiOperation("专家调解处理") |
| | | @PutMapping("/conciliation/Request") |
| | | public R conciliationRequest(@RequestBody ComEventConciliationVO comEventConciliationVO) { |
| | | return comEventService.conciliationEvent(comEventConciliationVO); |
| | | return comEventService.conciliationEvent(comEventConciliationVO, getLoginUserInfo()); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 大屏事件统计 |
| | | * |
| | | * @param indexDataDTO 查询参数 |
| | | * */ |
| | | */ |
| | | @PostMapping("/indexData") |
| | | public R indexData(@RequestBody IndexDateDTO indexDataDTO ){ |
| | | public R indexData(@RequestBody IndexDateDTO indexDataDTO) { |
| | | return comEventService.indexData(indexDataDTO); |
| | | } |
| | | |
| | | /** |
| | | * 大屏事件统计(事件和专家各级别占比) |
| | | * */ |
| | | */ |
| | | @GetMapping("/indexData/event") |
| | | public R eventIndexData(@RequestParam Integer type){ |
| | | public R eventIndexData(@RequestParam Integer type) { |
| | | return comEventService.eventIndexData(type); |
| | | } |
| | | } |