| | |
| | | import com.gkhy.safePlatform.commons.utils.PageUtils; |
| | | import com.gkhy.safePlatform.commons.vo.ResultVO; |
| | | import com.gkhy.safePlatform.incidentManage.model.dto.req.AccidentReportReqDTO; |
| | | import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentReportCountRespDTO; |
| | | import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentReportDetailRespDTO; |
| | | import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentReportPageRespDTO; |
| | | import com.gkhy.safePlatform.incidentManage.query.AccidentReportQuery; |
| | | import com.gkhy.safePlatform.incidentManage.query.AccidentReportRPCQuery; |
| | | import com.gkhy.safePlatform.incidentManage.service.AccidentReportService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.core.Authentication; |
| | |
| | | return accidentReportService.batchDeleteAccidentReport(ids); |
| | | } |
| | | |
| | | /** |
| | | * 事故报告统计的rpc接口 |
| | | */ |
| | | @RequestMapping(value = "/count",method = RequestMethod.POST) |
| | | public ResultVO<List<AccidentReportCountRespDTO>> countAccidentReport(@RequestBody AccidentReportRPCQuery query){ |
| | | return accidentReportService.countAccidentReport(query); |
| | | } |
| | | } |