|
|
@ -14,12 +14,14 @@ 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.mngt.Sgg;
|
|
|
|
import cokr.xit.fims.mngt.Sgg;
|
|
|
|
|
|
|
|
import cokr.xit.fims.mngt.Task;
|
|
|
|
|
|
|
|
import cokr.xit.fims.mngt.Vltn;
|
|
|
|
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.SggService;
|
|
|
|
import cokr.xit.fims.mngt.service.SggService;
|
|
|
|
import cokr.xit.fims.mngt.service.TaskService;
|
|
|
|
|
|
|
|
import cokr.xit.fims.mngt.service.VltnService;
|
|
|
|
|
|
|
|
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.VltnBean;
|
|
|
|
import cokr.xit.foundation.UserInfo;
|
|
|
|
import cokr.xit.foundation.UserInfo;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
@ -46,12 +48,12 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
private SggService sggService;
|
|
|
|
private SggService sggService;
|
|
|
|
|
|
|
|
|
|
|
|
/** 업무 정보 서비스 */
|
|
|
|
/** 업무 정보 서비스 */
|
|
|
|
@Resource(name = "taskService")
|
|
|
|
@Resource(name = "taskBean")
|
|
|
|
private TaskService taskService;
|
|
|
|
private TaskBean taskBean;
|
|
|
|
|
|
|
|
|
|
|
|
/**위반 정보 서비스*/
|
|
|
|
/**위반 정보 서비스*/
|
|
|
|
@Resource(name = "vltnService")
|
|
|
|
@Resource(name = "vltnBean")
|
|
|
|
private VltnService vltnService;
|
|
|
|
private VltnBean vltnBean;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "factionBean")
|
|
|
|
@Resource(name = "factionBean")
|
|
|
|
private FactionBean factionBean;
|
|
|
|
private FactionBean factionBean;
|
|
|
@ -108,7 +110,7 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
* @return jsonView
|
|
|
|
* @return jsonView
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public ModelAndView getTasks(CmmnQuery req) {
|
|
|
|
public ModelAndView getTasks(CmmnQuery req) {
|
|
|
|
List<DataObject> result = taskService.getTasks(req);
|
|
|
|
List<DataObject> result = taskBean.getTasks(req);
|
|
|
|
|
|
|
|
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), result, "task");
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), result, "task");
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -117,7 +119,7 @@ public class Mngt03Controller extends ApplicationController {
|
|
|
|
* @return 위반 설정 정보
|
|
|
|
* @return 위반 설정 정보
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public ModelAndView getVltns(VltnQuery req) {
|
|
|
|
public ModelAndView getVltns(VltnQuery req) {
|
|
|
|
List<DataObject> result = vltnService.getVltns(req);
|
|
|
|
List<DataObject> result = vltnBean.getVltns(req);
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), result, "vltn");
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), result, "vltn");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|