|
|
@ -13,12 +13,12 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.fims.cmmn.CmmnQuery;
|
|
|
|
import cokr.xit.fims.cmmn.CmmnQuery;
|
|
|
|
|
|
|
|
import cokr.xit.fims.cmmn.service.StngService;
|
|
|
|
import cokr.xit.fims.mngt.FineIntegrationSigungu;
|
|
|
|
import cokr.xit.fims.mngt.FineIntegrationSigungu;
|
|
|
|
import cokr.xit.fims.mngt.Task;
|
|
|
|
import cokr.xit.fims.mngt.Task;
|
|
|
|
import cokr.xit.fims.mngt.VltnQuery;
|
|
|
|
import cokr.xit.fims.mngt.VltnQuery;
|
|
|
|
import cokr.xit.fims.mngt.dao.FactionMapper;
|
|
|
|
import cokr.xit.fims.mngt.dao.FactionMapper;
|
|
|
|
import cokr.xit.fims.mngt.service.FactionService;
|
|
|
|
import cokr.xit.fims.mngt.service.FactionService;
|
|
|
|
import cokr.xit.fims.mngt.service.TaskVltnService;
|
|
|
|
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FactionBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FactionBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.TaskBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.TaskBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.VltnBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.VltnBean;
|
|
|
@ -50,8 +50,8 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
private FactionService factionService;
|
|
|
|
private FactionService factionService;
|
|
|
|
|
|
|
|
|
|
|
|
/** 업무 정보 서비스 */
|
|
|
|
/** 업무 정보 서비스 */
|
|
|
|
@Resource(name = "taskVltnService")
|
|
|
|
@Resource(name = "stngService")
|
|
|
|
private TaskVltnService taskVltnService;
|
|
|
|
private StngService stngService;
|
|
|
|
|
|
|
|
|
|
|
|
/** 업무 정보 Bean */
|
|
|
|
/** 업무 정보 Bean */
|
|
|
|
@Resource(name = "taskBean")
|
|
|
|
@Resource(name = "taskBean")
|
|
|
@ -201,7 +201,7 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
public ModelAndView updateTaskStng(Task task) {
|
|
|
|
public ModelAndView updateTaskStng(Task task) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
|
|
boolean saved = taskVltnService.update(task, task.getVltnStngList());
|
|
|
|
boolean saved = stngService.updateTaskStng(task, task.getVltnStngList());
|
|
|
|
|
|
|
|
|
|
|
|
mav.addObject("saved", saved);
|
|
|
|
mav.addObject("saved", saved);
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
@ -217,7 +217,7 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
public ModelAndView createTaskStng(String sggCd, String taskSeCd) {
|
|
|
|
public ModelAndView createTaskStng(String sggCd, String taskSeCd) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
|
|
boolean saved = taskVltnService.create(sggCd, taskSeCd);
|
|
|
|
boolean saved = stngService.createTaskStng(sggCd, taskSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
mav.addObject("saved", saved);
|
|
|
|
mav.addObject("saved", saved);
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|