package com.gkhy.safePlatform.specialWork.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.equipment.rpc.api.model.dto.resp.MaterialReceiveRecordsRPCRespDto;
|
import com.gkhy.safePlatform.equipment.rpc.api.model.dto.resp.SafeMaterialClassifyRPCRespDto;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.DeleteForm;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.MaterialAllocationBaseAddReqDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.MaterialAllocationBaseModReqDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.MaterialReceiveReqDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.MaterialAllcationBasePageRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.MaterialAllocationBaseRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.MaterialReceiveRecordsRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.query.MaterialAllocationBaseQuery;
|
|
import java.util.List;
|
|
public interface MaterialAllocationBaseService {
|
ResultVO save(ContextCacheUser currentUser, MaterialAllocationBaseAddReqDTO addReqDTO);
|
|
ResultVO update(ContextCacheUser currentUser, MaterialAllocationBaseModReqDTO modReqDTO);
|
|
ResultVO delete(ContextCacheUser currentUser, Long id);
|
|
ResultVO deleteBatch(ContextCacheUser currentUser, DeleteForm deleteForm);
|
|
SearchResultVO<List<MaterialAllcationBasePageRespDTO>> listByPage(ContextCacheUser currentUser, PageQuery<MaterialAllocationBaseQuery> pageQuery);
|
|
ResultVO<List<MaterialAllcationBasePageRespDTO>> list(ContextCacheUser currentUser, MaterialAllocationBaseQuery query);
|
|
ResultVO<List<MaterialAllocationBaseRespDTO>> queryByWorkTypeOrLevel(ContextCacheUser currentUser, MaterialAllocationBaseQuery query);
|
|
ResultVO emergencyMaterial(ContextCacheUser currentUser);
|
|
List<SafeMaterialClassifyRPCRespDto> materialClassify();
|
|
List<MaterialReceiveRecordsRespDTO> materialReceive(MaterialReceiveReqDTO receiveReq);
|
List<MaterialReceiveRecordsRPCRespDto> materialDetailReceiveRecords(MaterialReceiveReqDTO receiveReq);
|
}
|