public interface UnitInfoDao
| 限定符和类型 | 方法和说明 |
|---|---|
int |
countChildrenSum(String unitCode) |
void |
deleteObjectById(String unitCode) |
List<String> |
getAllParentUnit() |
String |
getNextKey() |
UnitInfo |
getObjectById(String unitCode) |
UnitInfo |
getPeerUnitByName(String unitName,
String parentCode,
String unitCode) |
UnitInfo |
getUnitByName(String name)
"from UnitInfo where unitName = ?
|
UnitInfo |
getUnitByTag(String unitTag) |
UnitInfo |
getUnitByWord(String unitWord) |
String |
getUnitCode(String depno) |
String |
getUnitNameOfCode(String unitcode) |
List<UnitInfo> |
listAllSubUnits(String primaryUnit)
这个方法应该转移到ManagerImpl类中
|
List<UnitInfo> |
listObjects() |
List<UnitInfo> |
listObjects(Map<String,Object> filterMap) |
List<UserInfo> |
listRelationUsers(String unitCode)
"select * FROM F_Userinfo ui where ui.userCode in " +
"(select userCode from f_userunit where unitcode='" + unitCode + "') or " +
"ui.userCode in (select userCode from f_userrole where rolecode like ?
|
List<UnitInfo> |
listSubUnitsByUnitPaht(String unitPath) |
List<UserInfo> |
listUnitUsers(String unitCode)
"select a.* " +
"from f_Userinfo a join f_userunit b on(a.userCode=b.userCode) " +
"where b.unitcode =?"
|
void |
mergeObject(UnitInfo unitInfo) |
int |
pageCount(Map<String,Object> filterDescMap) |
List<UnitInfo> |
pageQuery(Map<String,Object> pageQureyMap) |
void |
saveNewObject(UnitInfo unitInfo) |
void saveNewObject(UnitInfo unitInfo)
void mergeObject(UnitInfo unitInfo)
void deleteObjectById(String unitCode)
int countChildrenSum(String unitCode)
String getNextKey()
List<UserInfo> listUnitUsers(String unitCode)
unitCode - unitCodeList<UserInfo> listRelationUsers(String unitCode)
unitCode - unitCodeUnitInfo getUnitByName(String name)
name - nameList<UnitInfo> listAllSubUnits(String primaryUnit)
primaryUnit - primaryUnitCopyright © 2017. All rights reserved.