no message

main
이범준 1 year ago
parent 993954b887
commit 158893816c

@ -8,7 +8,10 @@ import javax.annotation.Resource;
import org.springframework.web.servlet.ModelAndView;
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.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.sprt.SprtQuery;
import cokr.xit.fims.sprt.service.Sprt01Service;
import cokr.xit.foundation.data.DataObject;
@ -29,6 +32,12 @@ public class Sprt01Controller extends ApplicationController {
@Resource(name="sprt01Service")
private Sprt01Service sprt01Service;
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name="userMapper")
protected UserMapper userMapper;
/** (fims/sprt/sprt01/010-main) .
*
* @return /fims/sprt/sprt01010
@ -60,6 +69,12 @@ public class Sprt01Controller extends ApplicationController {
ModelAndView mav = new ModelAndView("jsonView");
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);
mav = setCollectionInfo(mav, list, "integrationData");

@ -201,11 +201,6 @@ integrationSearch.getParams = () => {
var formFields = new FimsFormFields("#frmSearch--${pageName}");
var formData = formFields.get();
formData.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수
// 나중에 삭제
formData.sggCd = "41480"; // 시군구 코드 임시
return formData;
}

Loading…
Cancel
Save