@Service @Transactional public class CmsContentProductService extends BaseService<CmsContentProduct>
限定符和类型 | 字段和说明 |
---|---|
private CmsContentProductDao |
dao |
static java.lang.String[] |
ignoreProperties |
basedao, log
构造器和说明 |
---|
CmsContentProductService() |
限定符和类型 | 方法和说明 |
---|---|
void |
deduction(short siteId,
java.util.List<TradeOrderProduct> tradeOrderProductList) |
java.util.List<CmsContentProduct> |
getList(java.lang.Short siteId,
java.lang.Long contentId) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Long contentId,
java.lang.Long userId,
java.lang.String title,
java.math.BigDecimal startPrice,
java.math.BigDecimal endPrice,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
void |
update(short siteId,
long contentId,
java.lang.Long userId,
java.util.List<CmsContentProduct> products) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
public static final java.lang.String[] ignoreProperties
private CmsContentProductDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Long contentId, java.lang.Long userId, java.lang.String title, java.math.BigDecimal startPrice, java.math.BigDecimal endPrice, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- contentId
- userId
- title
- startPrice
- endPrice
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(readOnly=true) public java.util.List<CmsContentProduct> getList(java.lang.Short siteId, java.lang.Long contentId)
siteId
- contentId
- public void update(short siteId, long contentId, java.lang.Long userId, java.util.List<CmsContentProduct> products)
siteId
- contentId
- userId
- products
- @Transactional(isolation=READ_COMMITTED) public void deduction(short siteId, java.util.List<TradeOrderProduct> tradeOrderProductList)
siteId
- tradeOrderProductList
-