zhangfeng
2022-11-08 f241a39f07acc5d5ede28b4152d74cbb84e4885b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.gkhy.safePlatform.equipment.service;
 
import com.gkhy.safePlatform.commons.co.ContextCacheUser;
import com.gkhy.safePlatform.commons.vo.ResultVO;
import com.gkhy.safePlatform.equipment.model.dto.req.SafeMaterialClassifyAddReq;
import com.gkhy.safePlatform.equipment.model.dto.req.SafeMaterialClassifyModReq;
import com.gkhy.safePlatform.equipment.model.dto.req.SafeMaterialClassifyQuery;
import com.gkhy.safePlatform.equipment.model.dto.resp.SafeMaterialClassifyDto;
 
import java.util.List;
 
public interface MaterialClassifyService {
    ResultVO<List<SafeMaterialClassifyDto>> list(SafeMaterialClassifyQuery query);
 
    ResultVO save(ContextCacheUser currentUser, SafeMaterialClassifyAddReq req);
 
    ResultVO update(ContextCacheUser currentUser, SafeMaterialClassifyModReq req);
 
    ResultVO delete(Long id);
 
    ResultVO<SafeMaterialClassifyDto> queryById(Long id);
}