@Service @Transactional public class SysDeptService extends BaseService<SysDept>
限定符和类型 | 字段和说明 |
---|---|
private SysDeptDao |
dao |
basedao, log
构造器和说明 |
---|
SysDeptService() |
限定符和类型 | 方法和说明 |
---|---|
SysDept |
delete(short siteId,
java.lang.Integer id) |
SysDept |
getEntityByCode(short siteId,
java.lang.String code) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Integer parentId,
java.lang.Long userId,
java.lang.String name,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private SysDeptDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Integer parentId, java.lang.Long userId, java.lang.String name, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- parentId
- userId
- name
- pageIndex
- pageSize
- public SysDept getEntityByCode(short siteId, java.lang.String code)
siteId
- code
- public SysDept delete(short siteId, java.lang.Integer id)
siteId
- id
-