郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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);
}