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