페이징 처리 수정

main
이범준 3 months ago
parent 488bef32f9
commit 90efb7df57

@ -104,7 +104,7 @@ public class FileController extends cokr.xit.base.file.web.FileController {
} }
} }
mav = setCollectionInfo(mav, fileInfoList, "file"); mav = setPagingInfo(mav, fileInfoList, "file");
//민원 동영상파일 첨부 여부 //민원 동영상파일 첨부 여부
String cvlcptVideoExistYn = "N"; String cvlcptVideoExistYn = "N";

@ -128,7 +128,7 @@ public class OgdpController extends ApplicationController {
public ModelAndView getTasks(CmmnQuery req) { public ModelAndView getTasks(CmmnQuery req) {
List<DataObject> result = taskBean.getTasks(req); List<DataObject> result = taskBean.getTasks(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "task"); return setPagingInfo(new ModelAndView("jsonView"), result, "task");
} }
/** .<br /> /** .<br />
@ -137,7 +137,7 @@ public class OgdpController extends ApplicationController {
@RequestMapping(name="위반정보 조회", value=METHOD_URL.getVltns) @RequestMapping(name="위반정보 조회", value=METHOD_URL.getVltns)
public ModelAndView getVltns(VltnQuery req) { public ModelAndView getVltns(VltnQuery req) {
List<DataObject> result = vltnBean.getVltns(req); List<DataObject> result = vltnBean.getVltns(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "vltn"); return setPagingInfo(new ModelAndView("jsonView"), result, "vltn");
} }
/** . /** .
@ -271,7 +271,7 @@ public class OgdpController extends ApplicationController {
setFetchSize(query); setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), ogdpBean.getDeptStngList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), ogdpBean.getDeptStngList(query),"");
} }

@ -87,7 +87,7 @@ public class Crdn01Controller extends ApplicationController {
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd); query.setSggCd(sggCd);
List<DataObject> list = crdnStngService.getLinkFileLayoutMetadataList(query); List<DataObject> list = crdnStngService.getLinkFileLayoutMetadataList(query);
return setCollectionInfo(mav, list,"",""); return setPagingInfo(mav, list,"");
} }
/** .<br /> /** .<br />

@ -143,7 +143,7 @@ public class Crdn02Controller extends ApplicationController {
.addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList()); .addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList());
} }
return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"");
} }
/**2 .<br /> /**2 .<br />

@ -114,7 +114,7 @@ public class Crdn03Controller extends ApplicationController {
.addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList()); .addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList());
} }
return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"");
} }
/** . /** .

@ -133,7 +133,7 @@ public class Crdn05Controller extends ApplicationController {
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd); query.setSggCd(sggCd);
return setCollectionInfo(new ModelAndView("jsonView"),crdnService.getCrackdownList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"),crdnService.getCrackdownList(query),"");
} }
/** . /** .
@ -321,7 +321,7 @@ public class Crdn05Controller extends ApplicationController {
} }
} }
mav = setCollectionInfo(mav, allParsedDataList,"",""); mav = setPagingInfo(mav, allParsedDataList,"");
return mav; return mav;
} }

@ -177,7 +177,7 @@ public class Crdn06Controller extends ApplicationController {
return mav; return mav;
} }
return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),"");
} }
/** ID . /** ID .

@ -82,7 +82,7 @@ public class Crdn07Controller extends ApplicationController {
FimsUser currentUser = (FimsUser) currentUser().getUser(); FimsUser currentUser = (FimsUser) currentUser().getUser();
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd); query.setSggCd(sggCd);
return setCollectionInfo(mav, crdnStngService.getTeamList(query),"",""); return setPagingInfo(mav, crdnStngService.getTeamList(query),"");
} }
/** .<br /> /** .<br />
@ -99,7 +99,7 @@ public class Crdn07Controller extends ApplicationController {
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
query.setSggCd(sggCd); query.setSggCd(sggCd);
return setCollectionInfo(mav, crdnStngService.getRemovedTeamList(query),"",""); return setPagingInfo(mav, crdnStngService.getRemovedTeamList(query),"");
} }
/** . /** .

@ -120,7 +120,7 @@ public class Crdn08Controller extends ApplicationController {
} }
setFetchSize(query); setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), crdnStngService.getExemptionVehicleList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnStngService.getExemptionVehicleList(query),"");
} }
/** .<br /> /** .<br />

@ -164,7 +164,7 @@ public class Cvlc01Controller extends ApplicationController {
return mav; return mav;
} }
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCivilComplaintList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCivilComplaintList(query),"");
} }
/** . /** .

@ -167,7 +167,7 @@ public class Cvlc02Controller extends ApplicationController {
return mav; return mav;
} }
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCivilComplaintList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCivilComplaintList(query),"");
} }
/** . /** .

@ -127,6 +127,6 @@ public class Cvlc03Controller extends ApplicationController {
return mav.addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList()); return mav.addObject("downloadData", list).addObject("dataNames", cellDefs.stream().map(CellDef::getLabel).toList());
} }
return setCollectionInfo(new ModelAndView("jsonView"),crdnCvlcptService.getCivilComplaintList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"),crdnCvlcptService.getCivilComplaintList(query),"");
} }
} }

@ -79,7 +79,7 @@ public class Cvlc04Controller extends ApplicationController {
query.setSggCd(currentUser.getOrgID()); query.setSggCd(currentUser.getOrgID());
setFetchSize(query); setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getDmndDataList(query),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnCvlcptService.getDmndDataList(query),"");
} }

@ -71,7 +71,7 @@ public class Cvlc06Controller extends ApplicationController {
FimsUser currentUser = (FimsUser) currentUser().getUser(); FimsUser currentUser = (FimsUser) currentUser().getUser();
String currentSggCd = currentUser.getOrgID(); String currentSggCd = currentUser.getOrgID();
crdnQuery.setSggCd(currentSggCd); crdnQuery.setSggCd(currentSggCd);
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getWarningWordsList(crdnQuery),"",""); return setPagingInfo(new ModelAndView("jsonView"), crdnCvlcptService.getWarningWordsList(crdnQuery),"");
} }
/** . /** .

@ -77,7 +77,7 @@ public class Mngt01Controller extends ApplicationController {
String sggCd = currentUser.getOrgID(); String sggCd = currentUser.getOrgID();
req.setSggCd(sggCd); req.setSggCd(sggCd);
List<DataObject> list = ntcService.getNtcList(req); List<DataObject> list = ntcService.getNtcList(req);
return setCollectionInfo(mav, list, "", ""); return setPagingInfo(mav, list, "");
} }
/** .<br /> /** .<br />

Loading…
Cancel
Save