Update PmsBrandService.java
This commit is contained in:
parent
f1ff4c0d5b
commit
d9c3d3c87b
@ -11,21 +11,49 @@ import java.util.List;
|
|||||||
* Created by macro on 2018/4/26.
|
* Created by macro on 2018/4/26.
|
||||||
*/
|
*/
|
||||||
public interface PmsBrandService {
|
public interface PmsBrandService {
|
||||||
|
/**
|
||||||
|
* 获取所有品牌
|
||||||
|
*/
|
||||||
List<PmsBrand> listAllBrand();
|
List<PmsBrand> listAllBrand();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建品牌
|
||||||
|
*/
|
||||||
int createBrand(PmsBrandParam pmsBrandParam);
|
int createBrand(PmsBrandParam pmsBrandParam);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改品牌
|
||||||
|
*/
|
||||||
@Transactional
|
@Transactional
|
||||||
int updateBrand(Long id, PmsBrandParam pmsBrandParam);
|
int updateBrand(Long id, PmsBrandParam pmsBrandParam);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除品牌
|
||||||
|
*/
|
||||||
int deleteBrand(Long id);
|
int deleteBrand(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除品牌
|
||||||
|
*/
|
||||||
int deleteBrand(List<Long> ids);
|
int deleteBrand(List<Long> ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询品牌
|
||||||
|
*/
|
||||||
List<PmsBrand> listBrand(String keyword, int pageNum, int pageSize);
|
List<PmsBrand> listBrand(String keyword, int pageNum, int pageSize);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取品牌
|
||||||
|
*/
|
||||||
PmsBrand getBrand(Long id);
|
PmsBrand getBrand(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改显示状态
|
||||||
|
*/
|
||||||
int updateShowStatus(List<Long> ids, Integer showStatus);
|
int updateShowStatus(List<Long> ids, Integer showStatus);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改厂家制造商状态
|
||||||
|
*/
|
||||||
int updateFactoryStatus(List<Long> ids, Integer factoryStatus);
|
int updateFactoryStatus(List<Long> ids, Integer factoryStatus);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user