类 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
-
字段概要
字段从类继承的字段 com.publiccms.common.base.BaseService
basedao, log -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddeduction(short siteId, List<TradeOrderProduct> tradeOrderProductList) voiddeleteByContentId(Long contentId) getPage(Short siteId, Long contentId, Long userId, String title, BigDecimal startPrice, BigDecimal endPrice, String orderField, String orderType, Integer pageIndex, Integer pageSize) voidupdate(short siteId, long contentId, Long userId, List<CmsContentProduct> products) 从类继承的方法 com.publiccms.common.base.BaseService
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
-
字段详细资料
-
ignoreProperties
-
dao
-
-
构造器详细资料
-
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
- 参数:
siteId-contentId-- 返回:
- results list
-
update
- 参数:
siteId-contentId-userId-products-
-
deduction
@Transactional(isolation=READ_COMMITTED) public void deduction(short siteId, List<TradeOrderProduct> tradeOrderProductList) - 参数:
siteId-tradeOrderProductList-
-
deleteByContentId
- 参数:
contentId-
-