| | |
| | | |
| | | import cn.iocoder.yudao.framework.common.pojo.CommonResult; |
| | | import cn.iocoder.yudao.module.mdm.api.category.dto.MdmItemCategoryRespDTO; |
| | | import cn.iocoder.yudao.module.mdm.api.category.dto.MdmItemCategorySaveReqDTO; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | */ |
| | | CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct); |
| | | |
| | | /** |
| | | * 获取全部分类列表(含禁用) |
| | | * |
| | | * @return 分类列表 |
| | | */ |
| | | CommonResult<List<MdmItemCategoryRespDTO>> getItemCategoryAllList(); |
| | | |
| | | /** |
| | | * 创建物料分类 |
| | | * |
| | | * @param createReqDTO 创建信息 |
| | | * @return 分类编号 |
| | | */ |
| | | CommonResult<Long> createItemCategory(MdmItemCategorySaveReqDTO createReqDTO); |
| | | |
| | | /** |
| | | * 更新物料分类 |
| | | * |
| | | * @param updateReqDTO 更新信息 |
| | | */ |
| | | CommonResult<Boolean> updateItemCategory(MdmItemCategorySaveReqDTO updateReqDTO); |
| | | |
| | | /** |
| | | * 删除物料分类 |
| | | * |
| | | * @param id 分类编号 |
| | | */ |
| | | CommonResult<Boolean> deleteItemCategory(Long id); |
| | | |
| | | } |