public interface McOpProductService
@Transactional boolean update(OpProductVO productVO)
OpProductVO findById(Long id)
List<OpProductVO> findByIds(List<Long> ids)
List<OpProductVO> findProdWithWatermarkByIds(List<Long> ids)
List<OpProductVO> findProdWithTagByIds(List<Long> ids)
List<Long> findProdWatermarkProdIdsByParams(Map<String,Object> params)
List<OpProductVO> listProdMat(Map<String,Object> params)
@Transactional Long create(OpProductVO prod)
@Transactional Long createCombinedProduct(OpProductVO prod)
@Transactional Boolean updateCombinedProduct(OpProductVO prod)
@Transactional boolean updateProdAndSku(OpProductVO productVO)
@Transactional boolean deleteById(Long id)
List<OpProductVO> findByCond(OpProductCond cond)
List<OpProductVO> findBySkuCode(String skuCode)
List<OpProductExcelVO> findExportListByCond(OpProductCond cond)
List<OpProductVO> findByNameOrCode(String name)
List<OpProductVO> findByIds(List<Long> ids, boolean withCategories)
List<OpProductVO> findProductIds()
@Transactional int updateByExampleSelective(OpProductVO vo)
OpProductVO findProductByCode(String code)
code - List<OpWatermarkVO> queryWatermarksByProdId(Map<String,Object> params)
List<Map> listProdMat(OpProductCond cond)
Boolean isExistsSpecialCategory(Long productId, List<Integer> categoryIds)
productId - 商品编号categoryIds - 指定的二级类目编号Boolean isOnlyExistsSpecialCategory(Long productId, List<Integer> categoryIds)
productId - categoryIds - List<OpProductVO> findProdWithSpvByNameOrCode(String arg0)
OpProductVO findCombinedProdbyProdId(Long prodId)
prodId - List<OpProductVO> findCombinedProdAuditList(OpProductCond cond)
cond - Boolean auditCombinedProd(OpProductCond cond)
cond - Boolean getCrossBorderFlagListByCode(String code, Integer crossBorderFlag)
code - crossBorderFlag - List<PcsSkuVO> getSkuListByProductCode(String productCode)
productCode - 商品编码List<Long> findProductIdsByTradeType(int tradeType)
tradeType - Copyright © 2018. All rights reserved.