|
|
@ -19,7 +19,10 @@ import cokr.xit.base.file.web.FileInfoFactory;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.fims.crdn.Crdn;
|
|
|
|
import cokr.xit.fims.crdn.Crdn;
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
|
|
|
|
import cokr.xit.fims.crdn.dao.Crdn05Mapper;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnStngService;
|
|
|
|
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
|
/**단속 자료 등록 서비스 웹 컨트롤러.<br />
|
|
|
|
/**단속 자료 등록 서비스 웹 컨트롤러.<br />
|
|
|
|
* {웹 컨텍스트}/crdn/crdn05 로 접근할 수 있다.
|
|
|
|
* {웹 컨텍스트}/crdn/crdn05 로 접근할 수 있다.
|
|
|
@ -30,6 +33,12 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
@Resource(name="crdnService")
|
|
|
|
@Resource(name="crdnService")
|
|
|
|
private CrdnService crdnService;
|
|
|
|
private CrdnService crdnService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="crdnStngService")
|
|
|
|
|
|
|
|
private CrdnStngService crdnStngService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="crdn05Mapper")
|
|
|
|
|
|
|
|
private Crdn05Mapper crdn05Mapper;
|
|
|
|
|
|
|
|
|
|
|
|
/** 단속 자료 등록 메인화면을 연다.
|
|
|
|
/** 단속 자료 등록 메인화면을 연다.
|
|
|
|
* @return fims/crdn/crdn05010-main
|
|
|
|
* @return fims/crdn/crdn05010-main
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -96,17 +105,24 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
mav.addObject("LVS005List", commonCodes.get("LVS005"));
|
|
|
|
mav.addObject("LVS005List", commonCodes.get("LVS005"));
|
|
|
|
mav.addObject("VLTNList", commonCodes.get(vltnByTask));
|
|
|
|
mav.addObject("VLTNList", commonCodes.get(vltnByTask));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CrdnQuery query = new CrdnQuery();
|
|
|
|
|
|
|
|
query.setSggCd(crdn05Mapper.selectSggCdForCurrentUser());
|
|
|
|
|
|
|
|
query.setTaskSeCd(urlTaskSeCd);
|
|
|
|
|
|
|
|
List<DataObject> teamList = crdnStngService.getTeamList(query);
|
|
|
|
|
|
|
|
|
|
|
|
switch(urlTaskSeCd) {
|
|
|
|
switch(urlTaskSeCd) {
|
|
|
|
case "PVS" -> {
|
|
|
|
case "PVS" -> {
|
|
|
|
commonCodes = getCodesOf("FIM002","FIM007","FIM009");
|
|
|
|
commonCodes = getCodesOf("FIM002","FIM007","FIM009");
|
|
|
|
mav.addObject("FIM002List", commonCodes.get("FIM002"));
|
|
|
|
mav.addObject("FIM002List", commonCodes.get("FIM002"));
|
|
|
|
mav.addObject("FIM007List", commonCodes.get("FIM007"));
|
|
|
|
mav.addObject("FIM007List", commonCodes.get("FIM007"));
|
|
|
|
mav.addObject("FIM009List", commonCodes.get("FIM009"));
|
|
|
|
mav.addObject("FIM009List", commonCodes.get("FIM009"));
|
|
|
|
|
|
|
|
mav.addObject("TeamList", teamList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case "BPV" -> {
|
|
|
|
case "BPV" -> {
|
|
|
|
commonCodes = getCodesOf("FIM002","FIM009");
|
|
|
|
commonCodes = getCodesOf("FIM002","FIM009");
|
|
|
|
mav.addObject("FIM002List", commonCodes.get("FIM002"));
|
|
|
|
mav.addObject("FIM002List", commonCodes.get("FIM002"));
|
|
|
|
mav.addObject("FIM009List", commonCodes.get("FIM009"));
|
|
|
|
mav.addObject("FIM009List", commonCodes.get("FIM009"));
|
|
|
|
|
|
|
|
mav.addObject("TeamList", teamList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case "DPV" -> {
|
|
|
|
case "DPV" -> {
|
|
|
|
commonCodes = getCodesOf("FIM034");
|
|
|
|
commonCodes = getCodesOf("FIM034");
|
|
|
|