zhangfeng
2023-01-06 c128ed33c2447e8daea89d70795098748bd5b2af
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
package com.gkhy.safePlatform.equipment.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.entity.SafeMaterialClassifyDO;
import com.gkhy.safePlatform.equipment.model.dto.req.*;
import com.gkhy.safePlatform.equipment.model.dto.resp.SafeMaterialClassifyDto;
import com.gkhy.safePlatform.equipment.model.dto.resp.SafeMaterialClassifyStockDto;
 
import java.util.List;
 
public interface MaterialClassifyService {
    List<SafeMaterialClassifyDto> list();
 
    ResultVO save(ContextCacheUser currentUser, SafeMaterialClassifyAddReq req);
 
    ResultVO update(ContextCacheUser currentUser, SafeMaterialClassifyModReq req);
 
    ResultVO delete(ContextCacheUser currentUser,Long id);
 
    SafeMaterialClassifyDto queryById(ContextCacheUser currentUser,Long id);
 
    SafeMaterialClassifyDO getBigAndSmallClassifyInfo(Long smallClassifyId);
    List<SafeMaterialClassifyDto> getClassifyListByIds(List<Long> ids);
 
    List<SafeMaterialClassifyDO> getTraceabilityClassifyList(List<Long> smallClassifyIds);
 
    SearchResultVO<List<SafeMaterialClassifyDto>> listByPage(ContextCacheUser currentUser,PageQuery<MaterialClassifyQuery> pageQuery);
 
}