|
|
@ -52,20 +52,20 @@ public class OgdpBean extends AbstractBean {
|
|
|
|
ogdp.put("INST_NM", sgg.string("INST_NM"));
|
|
|
|
ogdp.put("INST_NM", sgg.string("INST_NM"));
|
|
|
|
ogdp.put("DEPT_CD", dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("DEPT_CD", dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("DEPT_NM", dept.string("DEPT_NM"));
|
|
|
|
ogdp.put("DEPT_NM", dept.string("DEPT_NM"));
|
|
|
|
ogdp.put("OGDP_CD", sgg.string("INST_CD") + "/" + dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("OGDP_CD", sgg.string("SGG_CD")+"/"+sgg.string("INST_CD") + ":" + dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("OGDP_NM", sgg.string("SGG_NM") + " / " + sgg.string("INST_NM") + " : " + dept.string("DEPT_NM"));
|
|
|
|
ogdp.put("OGDP_NM", sgg.string("SGG_NM") + " / " + sgg.string("INST_NM") + " : " + dept.string("DEPT_NM"));
|
|
|
|
ogdpList.add(ogdp);
|
|
|
|
ogdpList.add(ogdp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
DataObject sysAdmin = new DataObject();
|
|
|
|
DataObject sysAdmin = new DataObject();
|
|
|
|
sysAdmin.put("SGG_CD", "default");
|
|
|
|
sysAdmin.put("SGG_CD", "ADMIN");
|
|
|
|
sysAdmin.put("SGG_NM", "기본 시군구");
|
|
|
|
sysAdmin.put("SGG_NM", "관리자 시군구");
|
|
|
|
sysAdmin.put("INST_CD", "default");
|
|
|
|
sysAdmin.put("INST_CD", "ADMIN00");
|
|
|
|
sysAdmin.put("INST_NM", "기본 기관");
|
|
|
|
sysAdmin.put("INST_NM", "관리자 기관");
|
|
|
|
sysAdmin.put("DEPT_CD", "default");
|
|
|
|
sysAdmin.put("DEPT_CD", "ADMIN00");
|
|
|
|
sysAdmin.put("DEPT_NM", "기본 부서");
|
|
|
|
sysAdmin.put("DEPT_NM", "관리자 부서");
|
|
|
|
sysAdmin.put("OGDP_CD", "default/default");
|
|
|
|
sysAdmin.put("OGDP_CD", "ADMIN/ADMIN00:ADMIN00");
|
|
|
|
sysAdmin.put("OGDP_NM", "기본 시군구 / 기본 기관 : 기본 부서");
|
|
|
|
sysAdmin.put("OGDP_NM", "관리자 시군구 / 관리자 기관 : 관리자 부서");
|
|
|
|
ogdpList.add(sysAdmin);
|
|
|
|
ogdpList.add(sysAdmin);
|
|
|
|
|
|
|
|
|
|
|
|
return ogdpList;
|
|
|
|
return ogdpList;
|
|
|
@ -76,7 +76,7 @@ public class OgdpBean extends AbstractBean {
|
|
|
|
SigunguQuery sggQuery = new SigunguQuery();
|
|
|
|
SigunguQuery sggQuery = new SigunguQuery();
|
|
|
|
if(anonymous) {
|
|
|
|
if(anonymous) {
|
|
|
|
sggQuery.setSggIDs(sggCd);
|
|
|
|
sggQuery.setSggIDs(sggCd);
|
|
|
|
} else if(!currentUser().getInstitute().equals("default")){
|
|
|
|
} else if(!currentUser().getInstitute().equals("ADMIN00")){
|
|
|
|
sggQuery.setSggIDs(currentUser().getOrgID());
|
|
|
|
sggQuery.setSggIDs(currentUser().getOrgID());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<DataObject> sggs = sigunguBean.getSigunguList(sggQuery);
|
|
|
|
List<DataObject> sggs = sigunguBean.getSigunguList(sggQuery);
|
|
|
@ -90,22 +90,22 @@ public class OgdpBean extends AbstractBean {
|
|
|
|
ogdp.put("INST_NM", sgg.string("INST_NM"));
|
|
|
|
ogdp.put("INST_NM", sgg.string("INST_NM"));
|
|
|
|
ogdp.put("DEPT_CD", dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("DEPT_CD", dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("DEPT_NM", dept.string("DEPT_NM"));
|
|
|
|
ogdp.put("DEPT_NM", dept.string("DEPT_NM"));
|
|
|
|
ogdp.put("OGDP_CD", sgg.string("INST_CD") + "/" + dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("OGDP_CD", sgg.string("SGG_CD")+"/"+sgg.string("INST_CD") + ":" + dept.string("DEPT_CD"));
|
|
|
|
ogdp.put("OGDP_NM", sgg.string("SGG_NM") + " / " + sgg.string("INST_NM") + " : " + dept.string("DEPT_NM"));
|
|
|
|
ogdp.put("OGDP_NM", sgg.string("SGG_NM") + " / " + sgg.string("INST_NM") + " : " + dept.string("DEPT_NM"));
|
|
|
|
ogdpList.add(ogdp);
|
|
|
|
ogdpList.add(ogdp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(!anonymous && currentUser().getInstitute().equals("default")) {
|
|
|
|
if(!anonymous && currentUser().getInstitute().equals("ADMIN00")) {
|
|
|
|
DataObject sysAdmin = new DataObject();
|
|
|
|
DataObject sysAdmin = new DataObject();
|
|
|
|
sysAdmin.put("SGG_CD", "default");
|
|
|
|
sysAdmin.put("SGG_CD", "ADMIN");
|
|
|
|
sysAdmin.put("SGG_NM", "기본 시군구");
|
|
|
|
sysAdmin.put("SGG_NM", "관리자 시군구");
|
|
|
|
sysAdmin.put("INST_CD", "default");
|
|
|
|
sysAdmin.put("INST_CD", "ADMIN00");
|
|
|
|
sysAdmin.put("INST_NM", "기본 기관");
|
|
|
|
sysAdmin.put("INST_NM", "관리자 기관");
|
|
|
|
sysAdmin.put("DEPT_CD", "default");
|
|
|
|
sysAdmin.put("DEPT_CD", "ADMIN00");
|
|
|
|
sysAdmin.put("DEPT_NM", "기본 부서");
|
|
|
|
sysAdmin.put("DEPT_NM", "관리자 부서");
|
|
|
|
sysAdmin.put("OGDP_CD", "default/default");
|
|
|
|
sysAdmin.put("OGDP_CD", "ADMIN/ADMIN00:ADMIN00");
|
|
|
|
sysAdmin.put("OGDP_NM", "기본 시군구 / 기본 기관 : 기본 부서");
|
|
|
|
sysAdmin.put("OGDP_NM", "관리자 시군구 / 관리자 기관 : 관리자 부서");
|
|
|
|
ogdpList.add(sysAdmin);
|
|
|
|
ogdpList.add(sysAdmin);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return ogdpList;
|
|
|
|
return ogdpList;
|
|
|
|