package com.gkhy.safePlatform.incidentManage.service;
|
|
import com.gkhy.safePlatform.commons.co.ContextCacheUser;
|
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.AccidentExpressCasualtyReqDTO;
|
import com.gkhy.safePlatform.incidentManage.model.dto.req.AccidentExpressReqDTO;
|
import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentExpressDetailRespDTO;
|
import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentExpressPageRespDTO;
|
import com.gkhy.safePlatform.incidentManage.query.AccidentExpressQuery;
|
|
import java.util.List;
|
|
public interface AccidentExpressService{
|
|
SearchResultVO<List<AccidentExpressPageRespDTO>> selectAccidentExpressList(PageQuery<AccidentExpressQuery> query);
|
|
ResultVO addAccidentExpress(ContextCacheUser contextCacheUser, AccidentExpressReqDTO AccidentExpressReqDTO);
|
|
ResultVO<AccidentExpressDetailRespDTO> getAccidentExpressById(Long id);
|
|
ResultVO updateAccidentExpress(Long uid, AccidentExpressReqDTO AccidentExpressReqDTO);
|
|
ResultVO batchDeleteAccidentExpress(String ids);
|
|
ResultVO selectAccidentExpressCasualtyList(Long accidentExpressId);
|
|
ResultVO addAccidentExpressCasualty(Long uid, AccidentExpressCasualtyReqDTO accidentExpressCasualtyReqDTO);
|
|
ResultVO delAccidentExpressCasualty(Long accidentExpressId);
|
}
|