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> listByPage(ContextCacheUser currentUser, PageQuery pageQuery); ResultVO> list(ContextCacheUser currentUser, MaterialAllocationBaseQuery query); ResultVO> queryByWorkTypeOrLevel(ContextCacheUser currentUser, MaterialAllocationBaseQuery query); ResultVO emergencyMaterial(ContextCacheUser currentUser); List materialClassify(); List materialReceive(MaterialReceiveReqDTO receiveReq); List materialDetailReceiveRecords(MaterialReceiveReqDTO receiveReq); }