| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package cn.iocoder.yudao.module.mdm.api.brand; |
| | | |
| | | import cn.iocoder.yudao.framework.common.pojo.CommonResult; |
| | | import cn.iocoder.yudao.module.mdm.api.brand.dto.MdmBrandRespDTO; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * MDM åç API æ¥å£ |
| | | * |
| | | * @author è¶
级管çå |
| | | */ |
| | | public interface MdmBrandApi { |
| | | |
| | | String PREFIX = "/rpc-api/mdm/brand"; |
| | | |
| | | /** |
| | | * è·ååç |
| | | * |
| | | * @param id åçç¼å· |
| | | * @return åç |
| | | */ |
| | | CommonResult<MdmBrandRespDTO> getBrand(Long id); |
| | | |
| | | /** |
| | | * è·ååçå表 |
| | | * |
| | | * @param ids åçç¼å·å表 |
| | | * @return åçå表 |
| | | */ |
| | | CommonResult<List<MdmBrandRespDTO>> getBrandList(Collection<Long> ids); |
| | | |
| | | /** |
| | | * æ ¡éªåçåå¨ |
| | | * |
| | | * @param id åçç¼å· |
| | | * @return åç |
| | | */ |
| | | CommonResult<MdmBrandRespDTO> validateBrandExists(Long id); |
| | | |
| | | /** |
| | | * æ ¹æ®ç¼ç è·ååç |
| | | * |
| | | * @param code åçç¼ç |
| | | * @return åç |
| | | */ |
| | | CommonResult<MdmBrandRespDTO> getBrandByCode(String code); |
| | | |
| | | } |