public interface McPcsSkuCategoryService
Long create(PcsSkuCategoryVO record)
record - Long createBackCategory(PcsSkuCategoryVO record)
record - boolean update(PcsSkuCategoryVO record)
record - boolean updateBackCategory(PcsSkuCategoryVO record)
record - PcsSkuCategoryVO findById(long id)
id - PcsSkuCategoryVO findBackCategoryById(long id)
List<PcsSkuCategoryVO> findFrontCategoriesBySkuCode(String skuCode)
List<PcsSkuCategoryVO> findBackCategoriesBySkuCode(String skuCode)
List<PcsSkuCategoryVO> findFrontCategoriesBySkuCodeList(List<String> skuCodeList)
List<PcsSkuCategoryVO> findAllChildrens(long parentId)
parentId - List<PcsSkuCategoryVO> findAllBackCategoryChildrens(long parentId)
parentId - List<PcsSkuCategoryVO> findAll()
List<PcsSkuCategoryVO> findAllByCode()
List<PcsSkuCategoryVO> findAllFrontCategories()
PcsSkuCategoryVO findByCode(String code)
code - List<PcsSkuCategoryVO> findByName(String name)
name - List<PcsSkuCategoryVO> findBackCategoryByName(String name)
name - List<PcsSkuCategoryVO> findByIds(List<Long> ids)
ids - List<PcsSkuCategoryVO> findBackCategoriesByIds(List<Long> ids)
ids - List<PcsSkuCategoryVO> findByCodeAndRightLikeCode(String code)
code - List<PcsSkuCategoryVO> findSkuCategoryByParentIdIsNull()
PcsSkuCategoryVO findByParentID(Long parentID)
parentID - List<Long> findProductIdListByCategoryFrontRelationIds(List<Long> ids)
List<PcsFrontBackCategoryVO> findFrontBackCategoryList(Map<String,Object> params)
List<PcsSkuCategoryVO> findFrontCategoryList(Map<String,Object> params)
List<PcsSkuCategoryVO> findBackCategoryList(Map<String,Object> params)
List<PcsSkuCategoryRelationVO> findBackCategoryRelationList(PcsSkuCategoryRelationCond cond)
void saveOrUpdateBackCategoryRelationList(List<PcsSkuCategoryRelationVO> relationList)
void saveOrUpdateBackCategoryRelation(PcsSkuCategoryRelationVO relation)
Integer addFrontCategoryRelation(PcsSkuCategoryRelationVO relation)
Integer addBackCategoryRelation(PcsSkuCategoryRelationVO relation)
Integer addFrontBackCategoryRelation(PcsFrontBackCategoryVO frontBackCategoryVO)
Integer updateBackCategoryRelation(PcsSkuCategoryRelationVO relation)
void updateSkuCategoryRelation(PcsSkuCategoryRelationVO relation)
List<PcsSkuCategoryRelationVO> findFrontCategoryRelation(PcsSkuCategoryRelationCond cond)
List<Long> findFrontCategoryIdListByBackCategoryId(Long backCategoryRelationId)
List<Long> findFrontCategoryIdListByBackCategoryIds(List<Long> backCategoryRelationIds)
List<Long> findBackCategoryIdListByFrontCategoryId(Long frontCategoryRelationId)
Integer countOfFrontCategoryRelation(PcsSkuCategoryRelationCond cond)
void updateFrontCategoryRelation(PcsSkuCategoryRelationVO relation)
void synFrontCategoryRelation(String skuCode)
void saveFrontCategoryRelationByBack(PcsSkuCategoryRelationVO backCategoryRelation)
void deleteFrontCategoryRelationByBack(PcsSkuCategoryRelationVO backCategoryRelation)
List<Long> findProductIdsByCategoryFrontRelationIds(List<Long> ids)
List<PcsSkuCategoryRelationVO> findBackCategoryRelation(PcsSkuCategoryRelationCond cond)
List<PcsFrontBackCategoryVO> findAllFrontBackCategoryList()
List<PcsSkuCategoryVO> findAllFrontCategoryList()
List<PcsSkuCategoryVO> findAllBackCategoryList()
List<PcsSkuCategoryVO> findAllFirstBackCategoryList()
Map<String,PcsSkuCategoryVO> findFirstCategoryBySkucodes(List<String> skucodes)
skucodes - Map<String,PcsSkuCategoryVO> findFirstCategoryIdBySkucodes(List<String> skucodes)
skucodes - PcsSkuCategoryVO findFirstCategoryById(Long id)
Map<Long,PcsSkuCategoryVO> findFirstCategoryByIds(List<Long> ids)
List<PcsFrontBackCategoryVO> findRelationBackCategoryByFrontCategoryId(Long frontId)
Long createFrontCategory(PcsSkuCategoryVO record)
record - boolean updateFrontCategory(PcsSkuCategoryVO vo)
vo - boolean updateFrontBackCategoryRelationByFrontId(PcsFrontBackCategoryVO frontBackCategoryVO)
frontBackCategoryVO - List<Long> findByCondCategory(PcsSkuCategoryCond cond)
cond - List<PcsSkuCategoryVO> findByCondCategoryCron(PcsSkuCategoryCond cond)
cond - List<Long> listLeafCategoryId(List<Long> categoryIds)
categoryIds - 待查找集合List<CategoryTreeNodeVO> listAllCategoryTreeNode()
List<CategoryTreeNodeVO> listCategoryTreeNodeByIds(List<Long> ids)
ids - 类目编号集合List<PcsSkuCategoryVO> findCategoryByIds(PcsSkuCategoryCond cond)
cond - List<PcsSkuCategoryVO> findCategoryByLeafIds(PcsSkuCategoryCond cond)
cond - PcsSkuCategoryGmInfo findGmByCategoryId(Integer categoryId)
categoryId - Map<String,List<PcsSkuCategoryVO>> findBackCategoryBySkuCodes(List<String> skuCodes)
skuCodes - List<PcsSkuCategoryVO> findAllInUseBackCategoryList()
Copyright © 2018. All rights reserved.