|
|
@ -8,7 +8,10 @@ import javax.annotation.Resource;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
|
|
|
|
|
import cokr.xit.base.user.ManagedUser;
|
|
|
|
|
|
|
|
import cokr.xit.base.user.dao.UserMapper;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
import cokr.xit.base.web.ApplicationController;
|
|
|
|
|
|
|
|
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
|
|
|
|
import cokr.xit.fims.sprt.SprtQuery;
|
|
|
|
import cokr.xit.fims.sprt.SprtQuery;
|
|
|
|
import cokr.xit.fims.sprt.service.Sprt01Service;
|
|
|
|
import cokr.xit.fims.sprt.service.Sprt01Service;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
@ -29,6 +32,12 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
@Resource(name="sprt01Service")
|
|
|
|
@Resource(name="sprt01Service")
|
|
|
|
private Sprt01Service sprt01Service;
|
|
|
|
private Sprt01Service sprt01Service;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="globalStngMapper")
|
|
|
|
|
|
|
|
protected GlobalStngMapper globalStngMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="userMapper")
|
|
|
|
|
|
|
|
protected UserMapper userMapper;
|
|
|
|
|
|
|
|
|
|
|
|
/**통합 조회 메인화면(fims/sprt/sprt01/010-main)을 연다.
|
|
|
|
/**통합 조회 메인화면(fims/sprt/sprt01/010-main)을 연다.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return /fims/sprt/sprt01010
|
|
|
|
* @return /fims/sprt/sprt01010
|
|
|
@ -60,6 +69,12 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
List<DataObject> list = null;
|
|
|
|
List<DataObject> list = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String institute = currentUser().getInstitute();
|
|
|
|
|
|
|
|
String account = currentUser().getAccount();
|
|
|
|
|
|
|
|
ManagedUser currentUser = userMapper.getUser(account, institute);
|
|
|
|
|
|
|
|
String deptCd = currentUser.getDeptCode();
|
|
|
|
|
|
|
|
String sggCd = globalStngMapper.selectSggCd(deptCd);
|
|
|
|
|
|
|
|
query.setSggCd(sggCd);
|
|
|
|
list = sprt01Service.getIntegrationDataList(query);
|
|
|
|
list = sprt01Service.getIntegrationDataList(query);
|
|
|
|
|
|
|
|
|
|
|
|
mav = setCollectionInfo(mav, list, "integrationData");
|
|
|
|
mav = setCollectionInfo(mav, list, "integrationData");
|
|
|
|