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(Long uid ,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);
|
}
|