package com.gkhy.safePlatform.incidentManage.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.incidentManage.model.dto.req.AccidentReportReqDTO;
|
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 java.util.List;
|
|
public interface AccidentReportService {
|
|
SearchResultVO<List<AccidentReportPageRespDTO>> selectAccidentReportList(PageQuery<AccidentReportQuery> query);
|
|
ResultVO addAccidentReport(Long valueOf, AccidentReportReqDTO AccidentReportReqDTO);
|
|
ResultVO<AccidentReportDetailRespDTO> getAccidentReportById(Long id);
|
|
ResultVO updateAccidentReport(Long uid, AccidentReportReqDTO AccidentReportReqDTO);
|
|
ResultVO batchDeleteAccidentReport(Long[] ids);
|
|
}
|