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