민원 소스 정리

main
이범준 1 year ago
parent 5d8a2cefca
commit c222675f22

@ -15,7 +15,7 @@ public interface CrdnCvlcptService {
* @param query * @param query
* @return * @return
*/ */
List<DataObject> getCrackdownList(CrdnQuery query); List<DataObject> getCivilComplaintList(CrdnQuery query);
/** . /** .
* @param query * @param query

@ -66,7 +66,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
protected Crdn06Mapper crdn06Mapper; protected Crdn06Mapper crdn06Mapper;
@Override @Override
public List<DataObject> getCrackdownList(CrdnQuery query) { public List<DataObject> getCivilComplaintList(CrdnQuery query) {
List<DataObject> dataObjectList = new ArrayList<DataObject>(); List<DataObject> dataObjectList = new ArrayList<DataObject>();
switch (ifEmpty(query.getGridType(), () -> "")) { switch (ifEmpty(query.getGridType(), () -> "")) {
case "receiptData": case "receiptData":

@ -121,7 +121,7 @@ public class Cvlc01Controller extends ApplicationController {
public ModelAndView getCivilComplaintReceiptDataList(CrdnQuery query) { public ModelAndView getCivilComplaintReceiptDataList(CrdnQuery query) {
query.setGridType("receiptData"); query.setGridType("receiptData");
setFetchSize(query); setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCrackdownList(query),""); return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCivilComplaintList(query),"");
} }
/** .<br /> /** .<br />
@ -194,7 +194,7 @@ public class Cvlc01Controller extends ApplicationController {
public ModelAndView selectCivilComplaintAnswerTargetDataList(CrdnQuery query) { public ModelAndView selectCivilComplaintAnswerTargetDataList(CrdnQuery query) {
query.setGridType("answerTargetData"); query.setGridType("answerTargetData");
setFetchSize(query); setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCrackdownList(query), ""); return setCollectionInfo(new ModelAndView("jsonView"), crdnCvlcptService.getCivilComplaintList(query), "");
} }
/** .<br /> /** .<br />
@ -211,7 +211,7 @@ public class Cvlc01Controller extends ApplicationController {
@RequestMapping(name="민원자료 목록", value="/040/list.do") @RequestMapping(name="민원자료 목록", value="/040/list.do")
public ModelAndView getCivilComplaintList(CrdnQuery query) { public ModelAndView getCivilComplaintList(CrdnQuery query) {
setFetchSize(query); setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"),crdnCvlcptService.getCrackdownList(query),""); return setCollectionInfo(new ModelAndView("jsonView"),crdnCvlcptService.getCivilComplaintList(query),"");
} }
/** . /** .

@ -6,6 +6,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
/** .<br /> /** .<br />
* { }/cvlc/cvlc02 . * { }/cvlc/cvlc02 .
@ -16,6 +17,9 @@ public class Cvlc02Controller extends ApplicationController {
@Resource(name="crdnService") @Resource(name="crdnService")
private CrdnService crdnService; private CrdnService crdnService;
@Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService;
/** . /** .
* @return fims/cvlc/cvlc02010-main * @return fims/cvlc/cvlc02010-main
*/ */
@ -26,4 +30,5 @@ public class Cvlc02Controller extends ApplicationController {
return mav; return mav;
} }
} }

Loading…
Cancel
Save