@Service @Transactional public class SysLockService extends BaseService<SysLock>
限定符和类型 | 字段和说明 |
---|---|
private SysLockDao |
dao |
basedao, log
构造器和说明 |
---|
SysLockService() |
限定符和类型 | 方法和说明 |
---|---|
int |
delete(java.lang.String itemType,
java.lang.String[] excludeItemTypes,
java.util.Date createDate) |
int |
deleteByItemTypes(java.lang.String[] itemTypes,
java.lang.String[] excludeItemTypes,
java.util.Date createDate) |
java.util.List<java.lang.Short> |
getSiteIdList(java.lang.String itemType,
java.lang.String[] excludeItemTypes) |
java.util.List<java.lang.Short> |
getSiteIdListByItemTypes(java.lang.String[] itemTypes,
java.lang.String[] excludeItemTypes) |
SysLock |
updateCount(java.io.Serializable id,
int counter) |
SysLock |
updateCreateDate(java.io.Serializable id,
int count,
java.lang.Long userId) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private SysLockDao dao
public java.util.List<java.lang.Short> getSiteIdListByItemTypes(java.lang.String[] itemTypes, java.lang.String[] excludeItemTypes)
itemTypes
- excludeItemTypes
- public java.util.List<java.lang.Short> getSiteIdList(java.lang.String itemType, java.lang.String[] excludeItemTypes)
itemType
- excludeItemTypes
- public int delete(java.lang.String itemType, java.lang.String[] excludeItemTypes, java.util.Date createDate)
itemType
- excludeItemTypes
- createDate
- public int deleteByItemTypes(java.lang.String[] itemTypes, java.lang.String[] excludeItemTypes, java.util.Date createDate)
itemTypes
- excludeItemTypes
- createDate
- @Transactional(isolation=READ_COMMITTED) public SysLock updateCount(java.io.Serializable id, int counter)
id
- counter
- @Transactional(isolation=READ_COMMITTED) public SysLock updateCreateDate(java.io.Serializable id, int count, java.lang.Long userId)
id
- count
- userId
-