@Service @Transactional public class TradeOrderProductService extends BaseService<TradeOrderProduct>
限定符和类型 | 字段和说明 |
---|---|
private CmsContentService |
contentService |
private TradeOrderProductDao |
dao |
private CmsContentProductService |
productService |
basedao, log
构造器和说明 |
---|
TradeOrderProductService() |
限定符和类型 | 方法和说明 |
---|---|
java.math.BigDecimal |
create(short siteId,
long orderId,
java.util.List<TradeOrderProduct> tradeOrderProductList) |
java.util.List<TradeOrderProduct> |
getList(java.lang.Short siteId,
java.lang.Long orderId) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Long orderId,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private TradeOrderProductDao dao
private CmsContentService contentService
private CmsContentProductService productService
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Long orderId, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- orderId
- pageIndex
- pageSize
- @Transactional(readOnly=true) public java.util.List<TradeOrderProduct> getList(java.lang.Short siteId, java.lang.Long orderId)
siteId
- orderId
- @Transactional(isolation=READ_COMMITTED) public java.math.BigDecimal create(short siteId, long orderId, java.util.List<TradeOrderProduct> tradeOrderProductList)