@Service(value="orgManager") public class OrgManagerImpl extends BaseManagerImpl<Org> implements OrgManager
描述:组织架构 处理实现类
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) OrgDao |
orgDao |
(专用程序包) OrgParamsDao |
orgParamsDao |
(专用程序包) UserDao |
userDao |
logger| 构造器和说明 |
|---|
OrgManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Org> |
getBranchCompany(Map params) |
Org |
getByCode(String code)
根据Code取定义对象。
|
List<Org> |
getChildOrg(String parentId,
boolean all,
cn.sexycode.springo.core.base.api.model.StructEnum struct) |
Org |
getCurrentCompany()
获取当前用户的分公司ID
|
List<Org> |
getCurrentOrgGroup(String account) |
Org |
getMainGroup(String userId)
获取主组织。
|
List<Org> |
getOrgListByAccount(String account)
根据用户账号获取组织列表
|
List<Org> |
getOrgListByUserId(String userId)
根据用户ID获取组织列表
|
void |
removeByIds(String... ids) |
create, get, getDao, query, remove, setDao, updatecloseSqlSession, count, currentModelClass, getById, getMap, getObj, getOne, list, listByIds, listByMap, listMaps, listObjs, page, pageMaps, remove, removeById, removeByIds, removeByMap, retBool, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, update, updateBatchById, updateByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, getById, getMap, getObj, getOne, getOne, list, listByIds, listByMap, listMaps, listObjs, page, pageMaps, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, updateBatchById, updateBatchById, updateByIdOrgDao orgDao
UserDao userDao
OrgParamsDao orgParamsDao
public Org getByCode(String code)
OrgManagergetByCode 在接口中 OrgManagerpublic List<Org> getOrgListByUserId(String userId)
OrgManagergetOrgListByUserId 在接口中 OrgManagerpublic List<Org> getOrgListByAccount(String account)
OrgManagergetOrgListByAccount 在接口中 OrgManagerpublic Org getMainGroup(String userId)
OrgManagergetMainGroup 在接口中 OrgManagerpublic void removeByIds(String... ids)
removeByIds 在接口中 Manager<Org>removeByIds 在类中 BaseManagerImpl<Org>public Org getCurrentCompany()
OrgManagergetCurrentCompany 在接口中 OrgManagerpublic List<Org> getBranchCompany(Map params)
getBranchCompany 在接口中 OrgManagerpublic List<Org> getCurrentOrgGroup(String account)
getCurrentOrgGroup 在接口中 OrgManagerpublic List<Org> getChildOrg(String parentId, boolean all, cn.sexycode.springo.core.base.api.model.StructEnum struct)
getChildOrg 在接口中 OrgManagerCopyright © 2018. All rights reserved.