|
|
@ -140,9 +140,10 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
String taskSeCd = hReq.getParameter("taskSeCd");
|
|
|
|
String taskSeCd = hReq.getParameter("taskSeCd");
|
|
|
|
String sggCd = globalStngMapper.selectSggCdForCurrentUser();
|
|
|
|
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
|
|
|
|
String sggCd = globalStngMapper.selectSggCd(deptCd);
|
|
|
|
|
|
|
|
|
|
|
|
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
|
|
|
|
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
|
|
|
|
|
|
|
|
|
|
|
|
for(int i=0; i < layoutDescriptors.size(); i++) {
|
|
|
|
for(int i=0; i < layoutDescriptors.size(); i++) {
|
|
|
@ -195,9 +196,10 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
String taskSeCd = hReq.getParameter("taskSeCd");
|
|
|
|
String taskSeCd = hReq.getParameter("taskSeCd");
|
|
|
|
String sggCd = globalStngMapper.selectSggCdForCurrentUser();
|
|
|
|
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
|
|
|
|
String sggCd = globalStngMapper.selectSggCd(deptCd);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
|
|
|
|
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
|
|
|
|
|
|
|
|
|
|
|
@ -241,9 +243,10 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
String taskSeCd = hReq.getParameter("taskSeCd");
|
|
|
|
String taskSeCd = hReq.getParameter("taskSeCd");
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
String sggCd = globalStngMapper.selectSggCdForCurrentUser();
|
|
|
|
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), institute);
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
|
|
|
|
String sggCd = globalStngMapper.selectSggCd(deptCd);
|
|
|
|
|
|
|
|
|
|
|
|
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
|
|
|
|
List<LayoutDescriptor> layoutDescriptors = crdnStngService.getLinkFileLayoutMetadata(sggCd, taskSeCd, institute, deptCd);
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, List<CommonCode>> codeInfo = getCodesOf("FIM007","WEB002","FIM005","FIM006","FIM005","FIM061");
|
|
|
|
Map<String, List<CommonCode>> codeInfo = getCodesOf("FIM007","WEB002","FIM005","FIM006","FIM005","FIM061");
|
|
|
@ -371,9 +374,13 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
mav.addObject("pageName", "crdn05030-info");
|
|
|
|
mav.addObject("pageName", "crdn05030-info");
|
|
|
|
String urlTaskSeCd = hReq.getServletPath().split("/")[1];
|
|
|
|
String urlTaskSeCd = hReq.getServletPath().split("/")[1];
|
|
|
|
mav.addObject("taskSeCd", urlTaskSeCd);
|
|
|
|
mav.addObject("taskSeCd", urlTaskSeCd);
|
|
|
|
mav.addObject("sggCd", globalStngMapper.selectSggCdForCurrentUser());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmListForCurrentUser());
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
|
|
|
|
|
|
|
|
String curDeptCode = currentUser.getDeptCode();
|
|
|
|
|
|
|
|
String sggCd = globalStngMapper.selectSggCd(curDeptCode);
|
|
|
|
|
|
|
|
mav.addObject("sggCd", sggCd);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mav.addObject("stdgNmList", globalStngMapper.selectStdgNmList(sggCd));
|
|
|
|
|
|
|
|
|
|
|
|
String vltnByTask = "";
|
|
|
|
String vltnByTask = "";
|
|
|
|
|
|
|
|
|
|
|
@ -390,7 +397,7 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
mav.addObject("VLTNList", commonCodes.get(vltnByTask));
|
|
|
|
mav.addObject("VLTNList", commonCodes.get(vltnByTask));
|
|
|
|
|
|
|
|
|
|
|
|
CrdnQuery query = new CrdnQuery();
|
|
|
|
CrdnQuery query = new CrdnQuery();
|
|
|
|
query.setSggCd(globalStngMapper.selectSggCdForCurrentUser());
|
|
|
|
query.setSggCd(sggCd);
|
|
|
|
query.setTaskSeCd(urlTaskSeCd);
|
|
|
|
query.setTaskSeCd(urlTaskSeCd);
|
|
|
|
List<DataObject> teamList = crdnStngService.getTeamList(query);
|
|
|
|
List<DataObject> teamList = crdnStngService.getTeamList(query);
|
|
|
|
|
|
|
|
|
|
|
@ -427,8 +434,9 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public ModelAndView createCrdnDataByManual(HttpServletRequest hReq, Crdn crdn, MultipartFile[] newFileList) {
|
|
|
|
public ModelAndView createCrdnDataByManual(HttpServletRequest hReq, Crdn crdn, MultipartFile[] newFileList) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
|
|
|
|
ManagedUser currentUser = userMapper.getUser(currentUser().getAccount(), currentUser().getInstitute());
|
|
|
|
crdn.setSggCd(globalStngMapper.selectSggCdForCurrentUser());
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
|
|
|
|
crdn.setSggCd(globalStngMapper.selectSggCd(deptCd));
|
|
|
|
|
|
|
|
|
|
|
|
crdn.setCrdnRegSeCd("01");
|
|
|
|
crdn.setCrdnRegSeCd("01");
|
|
|
|
crdn.setCrdnInptSeCd("03");//TODO : 사용자 기관의 시청,구청 구분
|
|
|
|
crdn.setCrdnInptSeCd("03");//TODO : 사용자 기관의 시청,구청 구분
|
|
|
|