Commit d9c3d3c8 authored by macro's avatar macro
Browse files

Update PmsBrandService.java

parent f1ff4c0d
......@@ -11,21 +11,49 @@ import java.util.List;
* Created by macro on 2018/4/26.
*/
public interface PmsBrandService {
/**
* 获取所有品牌
*/
List<PmsBrand> listAllBrand();
/**
* 创建品牌
*/
int createBrand(PmsBrandParam pmsBrandParam);
/**
* 修改品牌
*/
@Transactional
int updateBrand(Long id, PmsBrandParam pmsBrandParam);
/**
* 删除品牌
*/
int deleteBrand(Long id);
/**
* 批量删除品牌
*/
int deleteBrand(List<Long> ids);
/**
* 分页查询品牌
*/
List<PmsBrand> listBrand(String keyword, int pageNum, int pageSize);
/**
* 获取品牌
*/
PmsBrand getBrand(Long id);
/**
* 修改显示状态
*/
int updateShowStatus(List<Long> ids, Integer showStatus);
/**
* 修改厂家制造商状态
*/
int updateFactoryStatus(List<Long> ids, Integer factoryStatus);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment