songhuangfeng123
2022-08-04 f3a1ffc586b88a4b8ae43e664f2cefadd3ba7d24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.gkhy.safePlatform.emergency.service;
 
import com.gkhy.safePlatform.commons.query.PageQuery;
import com.gkhy.safePlatform.commons.vo.ResultVO;
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
import com.gkhy.safePlatform.emergency.model.dto.req.EmergencyPlanReqDTO;
import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyPlanDetailRespDTO;
import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyPlanPageRespDTO;
import com.gkhy.safePlatform.emergency.query.EmergencyPlanQuery;
 
import java.util.List;
 
public interface EmergencyPlanService {
 
    SearchResultVO<List<EmergencyPlanPageRespDTO>> selectEmergencyPlanList(PageQuery<EmergencyPlanQuery> query);
 
    ResultVO addEmergencyPlan(Long uid, EmergencyPlanReqDTO emergencyPlanReqDTO);
 
    ResultVO<EmergencyPlanDetailRespDTO> getEmergencyPlanById(Long id);
 
    ResultVO updateEmergencyPlan(Long uid, EmergencyPlanReqDTO emergencyPlanReqDTO);
 
    ResultVO batchDeleteEmergencyPlan(Long[] ids);
 
    ResultVO updateAbolish(Long id, Boolean abolishStatus);
}