@Service @Transactional public class TradeAccountService extends BaseService<TradeAccount>
限定符和类型 | 字段和说明 |
---|---|
private TradeAccountDao |
dao |
private TradeAccountHistoryDao |
historyDao |
private SysUserService |
userService |
basedao, log
构造器和说明 |
---|
TradeAccountService() |
限定符和类型 | 方法和说明 |
---|---|
TradeAccountHistory |
change(short siteId,
java.lang.String serialNumber,
long accountId,
java.lang.Long userId,
int status,
java.math.BigDecimal change,
java.lang.String description) |
TradeAccount |
getOrCreate(short siteId,
long accountId) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private TradeAccountDao dao
private TradeAccountHistoryDao historyDao
private SysUserService userService
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public TradeAccount getOrCreate(short siteId, long accountId)
@Transactional(isolation=READ_COMMITTED) public TradeAccountHistory change(short siteId, java.lang.String serialNumber, long accountId, java.lang.Long userId, int status, java.math.BigDecimal change, java.lang.String description)