2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
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
42
package cn.iocoder.yudao.module.mdm.api.category;
 
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.mdm.api.category.dto.MdmItemCategoryRespDTO;
 
import java.util.Collection;
import java.util.List;
 
/**
 * MDM 物料分类 API 接口
 *
 * @author 芋道源码
 */
public interface MdmItemCategoryApi {
 
    String PREFIX = "/rpc-api/mdm/category";
 
    /**
     * 获取物料分类
     *
     * @param id 分类编号
     * @return 物料分类
     */
    CommonResult<MdmItemCategoryRespDTO> getItemCategory(Long id);
 
    /**
     * 获取物料分类列表
     *
     * @param ids 分类编号列表
     * @return 物料分类列表
     */
    CommonResult<List<MdmItemCategoryRespDTO>> getItemCategoryList(Collection<Long> ids);
 
    /**
     * 校验物料分类存在
     *
     * @param id 分类编号
     * @return 物料分类
     */
    CommonResult<MdmItemCategoryRespDTO> validateItemCategoryExists(Long id);
 
}