public interface McPcsSupplierService
| 限定符和类型 | 方法和说明 |
|---|---|
List<Integer> |
addBusinessCategory(Integer supplierId,
List<String> categoryList) |
List<Integer> |
addFactorys(Integer supplierId,
List<Long> factoryList)
添加供应商工厂
|
List<Integer> |
addPurchaseCategory(Integer supplierId,
List<String> categoryList) |
Boolean |
audiSupplier(Long userId,
long id,
Boolean isPass,
Integer type)
供应商审核
|
long |
countByCond(PcsSupplierCond cond) |
Long |
create(PcsSupplierVO vo,
boolean saveDraft)
创建供应商
|
Long |
createSupplier(PcsSupplierVO vo)
创建供应商
|
List<PcsSupplierVO> |
findByCond(PcsSupplierCond cond)
根据供应商名称和状态查找供应商
|
List<PcsSupplierVO> |
findByCriteria(PcsSupplierCond cond)
根据条件查找供应商
|
PcsSupplierVO |
findById(Long id)
根据ID查找供应商
|
List<PcsSupplierVO> |
findByIds(List<Long> ids)
根据id集合查找供应商
|
List<PcsSupplierVO> |
findByName(String name)
根据名称查找供应商
|
List<SupplierBrandRelation> |
findSupplierBrandRelation()
查询供应商和品牌关联关系
|
Boolean |
save(PcsSupplierVO vo)
保存基本信息
|
Boolean |
update(PcsSupplierVO vo,
boolean saveDraft)
更新供应商
|
Boolean |
updateSupplier(PcsSupplierVO vo)
更新供应商
|
Long create(PcsSupplierVO vo, boolean saveDraft)
record - Long createSupplier(PcsSupplierVO vo)
vo - Boolean update(PcsSupplierVO vo, boolean saveDraft)
record - Boolean updateSupplier(PcsSupplierVO vo)
vo - PcsSupplierVO findById(Long id)
id - List<PcsSupplierVO> findByCond(PcsSupplierCond cond)
cond - List<PcsSupplierVO> findByCriteria(PcsSupplierCond cond)
cond - List<PcsSupplierVO> findByName(String name)
name - List<PcsSupplierVO> findByIds(List<Long> ids)
ids - Boolean audiSupplier(Long userId, long id, Boolean isPass, Integer type)
id - isPass - long countByCond(PcsSupplierCond cond)
List<SupplierBrandRelation> findSupplierBrandRelation()
cond - List<Integer> addPurchaseCategory(Integer supplierId, List<String> categoryList)
List<Integer> addBusinessCategory(Integer supplierId, List<String> categoryList)
Boolean save(PcsSupplierVO vo)
vo - Copyright © 2018. All rights reserved.