| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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); |
| | | |
| | | /** |
| | | * æ ¹æ®ç©æ/äº§åæ è¯è·ååç±» |
| | | * |
| | | * @param itemOrProduct ç©æ/äº§åæ è¯ |
| | | * @return ç©æåç±» |
| | | */ |
| | | CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct); |
| | | |
| | | } |