| | |
| | | import com.gkhy.safePlatform.commons.utils.PageUtils; |
| | | import com.gkhy.safePlatform.commons.vo.ResultVO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.req.EmergencyDrillExecuteReqDTO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyDrillExecuteCountRespDTO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyDrillExecuteDetailRespDTO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyDrillExecutePageRespDTO; |
| | | import com.gkhy.safePlatform.emergency.query.EmergencyDrillExecuteQuery; |
| | | import com.gkhy.safePlatform.emergency.query.EmergencyDrillExecuteRPCQuery; |
| | | import com.gkhy.safePlatform.emergency.service.EmergencyDrillExecuteService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.core.Authentication; |
| | |
| | | public ResultVO batchDeleteEmergencyDrillExecute(@RequestBody Long[] ids){ |
| | | return emergencyDrillExecuteService.batchDeleteEmergencyDrillExecute(ids); |
| | | } |
| | | |
| | | /** |
| | | * 应急演练统计的rpc接口 |
| | | */ |
| | | @RequestMapping(value = "/count",method = RequestMethod.POST) |
| | | public ResultVO<EmergencyDrillExecuteCountRespDTO> countEmergencyDrillExecute(@RequestBody EmergencyDrillExecuteRPCQuery query){ |
| | | return emergencyDrillExecuteService.countEmergencyDrillExecute(query); |
| | | } |
| | | |
| | | } |