public class DeptServiceImpl extends ETreeService<Dept> implements DeptService
dao| 构造器和说明 |
|---|
DeptServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addDept(Dept dept) |
Dept |
createRootDept()
创建默认部门
|
Dept |
findById(String id)
按主键ID检索
|
Dept |
findByTmid(Object tmid)
返回tmid对应的机构
|
List<Dept> |
getAllDepts() |
List<Dept> |
getAllDepts(String pid) |
List<Dept> |
getDepts(String ids) |
List<Dept> |
getDepts(String ids,
String orderby) |
Dept |
getLastDept(String pid) |
Dept |
getRootDept() |
List<Dept> |
getSubDepts(String pid) |
int |
imports(String pid,
File file) |
void |
modifyDept(Dept dept) |
void |
removeDepts(String ids) |
void |
sort(String pid,
String opt,
String ids) |
able, dbo, deleteByCodes, deleteById, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCode, findByCodea, findByCodes, findByDomain, findByDomainSingle, findByIda, findByIds, getConfigName, paginate, paginate, save, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, update$comp, $domain, $logined, $uid, $user, $UUID, append, append, join, parseRecordsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitable, deleteByCodes, deleteById, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCode, findByCodea, findByCodes, findByDomain, findByDomainSingle, findByIda, findByIds, paginate, paginate, save, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, updatepublic Dept findById(String id)
EModelServicefindById 在接口中 IModelService<Dept>findById 在类中 EModelService<Dept>id - 主键IDpublic Dept findByTmid(Object tmid)
findByTmid 在接口中 DeptServicetmid - public Dept createRootDept()
createRootDept 在接口中 DeptServicecomp - public Dept getRootDept()
getRootDept 在接口中 DeptServicepublic List<Dept> getAllDepts()
getAllDepts 在接口中 DeptServicepublic List<Dept> getAllDepts(String pid)
getAllDepts 在接口中 DeptServicepublic List<Dept> getSubDepts(String pid)
getSubDepts 在接口中 DeptServicepublic List<Dept> getDepts(String ids)
getDepts 在接口中 DeptServicepublic void addDept(Dept dept)
addDept 在接口中 DeptServicepublic void modifyDept(Dept dept)
modifyDept 在接口中 DeptServicepublic void removeDepts(String ids)
removeDepts 在接口中 DeptServicepublic Dept getLastDept(String pid)
getLastDept 在接口中 DeptServicepublic void sort(String pid, String opt, String ids)
sort 在接口中 DeptServicesort 在类中 ETreeService<Dept>public int imports(String pid, File file)
imports 在接口中 DeptServiceCopyright © 2020. All rights reserved.