类 CmsContentProductService

java.lang.Object
com.publiccms.common.base.BaseService<CmsContentProduct>
com.publiccms.logic.service.cms.CmsContentProductService

@Service @Transactional public class CmsContentProductService extends BaseService<CmsContentProduct>
CmsContentProductService
  • 字段详细资料

  • 构造器详细资料

    • CmsContentProductService

      public CmsContentProductService()
  • 方法详细资料

    • getPage

      @Transactional(readOnly=true) public PageHandler getPage(Short siteId, Long contentId, Long userId, String title, BigDecimal startPrice, BigDecimal endPrice, String orderField, String orderType, Integer pageIndex, Integer pageSize)
      参数:
      siteId -
      contentId -
      userId -
      title -
      startPrice -
      endPrice -
      orderField -
      orderType -
      pageIndex -
      pageSize -
      返回:
      results page
    • getList

      @Transactional(readOnly=true) public List<CmsContentProduct> getList(Short siteId, Long contentId)
      参数:
      siteId -
      contentId -
      返回:
      results list
    • update

      public void update(short siteId, long contentId, Long userId, List<CmsContentProduct> products)
      参数:
      siteId -
      contentId -
      userId -
      products -
    • deduction

      @Transactional(isolation=READ_COMMITTED) public void deduction(short siteId, List<TradeOrderProduct> tradeOrderProductList)
      参数:
      siteId -
      tradeOrderProductList -
    • deleteByContentId

      public void deleteByContentId(Long contentId)
      参数:
      contentId -