|
|
@ -44,10 +44,16 @@ public class StngBean extends AbstractComponent {
|
|
|
|
return stngMapper.selectUserStng(currentUser().getId());
|
|
|
|
return stngMapper.selectUserStng(currentUser().getId());
|
|
|
|
} else if(type.equals("dept")){
|
|
|
|
} else if(type.equals("dept")){
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
|
|
|
|
if(userInfo.getInstitute().equals("default")) {
|
|
|
|
|
|
|
|
return new DataObject();
|
|
|
|
|
|
|
|
}
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
|
return stngMapper.selectDeptStng((String)userInfo.getInfo().get("deptCd"));
|
|
|
|
return stngMapper.selectDeptStng((String)userInfo.getInfo().get("deptCd"));
|
|
|
|
} else if(type.equals("sgg")){
|
|
|
|
} else if(type.equals("sgg")){
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
UserInfo userInfo = currentUser();
|
|
|
|
|
|
|
|
if(userInfo.getInstitute().equals("default")) {
|
|
|
|
|
|
|
|
return new DataObject();
|
|
|
|
|
|
|
|
}
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
|
factionBean.initUserInfo(userInfo);
|
|
|
|
return stngMapper.selectSggStng((String)userInfo.getInfo().get("sggCd"));
|
|
|
|
return stngMapper.selectSggStng((String)userInfo.getInfo().get("sggCd"));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|