민원 관리 수정

main
이범준 1 year ago
parent 641229f732
commit 70923ab66c

@ -29,9 +29,9 @@ public class Crdn01ServiceBean extends AbstractServiceBean implements Crdn01Serv
public List<DataObject> getCrackdownList(CrdnQuery req) { public List<DataObject> getCrackdownList(CrdnQuery req) {
switch (ifEmpty(req.getGrid(), () -> "")) { switch (ifEmpty(req.getGrid(), () -> "")) {
case "접수": case "receiptData":
return crdn01Mapper.selectCivilComplaintReceiptDataList(req.setOrderBy("CRDN_ID")); return crdn01Mapper.selectCivilComplaintReceiptDataList(req.setOrderBy("CRDN_ID"));
case "답변": case "answerTargetData":
return crdn01Mapper.selectCivilComplaintAnswerTargetDataList(req.setOrderBy("CRDN_ID")); return crdn01Mapper.selectCivilComplaintAnswerTargetDataList(req.setOrderBy("CRDN_ID"));
default: default:
return crdn01Mapper.selectCivilComplaintList(req.setOrderBy("CRDN_ID")); return crdn01Mapper.selectCivilComplaintList(req.setOrderBy("CRDN_ID"));

@ -24,6 +24,50 @@ public class Crdn01Controller extends ApplicationController {
@Resource(name="crdn01Service") @Resource(name="crdn01Service")
private Crdn01Service crdn01Service; private Crdn01Service crdn01Service;
/** .<br />
* {@link Crdn01Service#getCrackdownList(CrdnQuery)}
* @param req
* @return jsonView
* <pre><code> {
* "crdnList": [ ],
* "crdnStart": ,
* "crdnFetchTotal": ,
* "crdnTotal":
* }</code></pre>
*/
@RequestMapping(name="민원접수자료 목록", value="/010/list.do")
public ModelAndView getCivilComplaintReceiptDataList(CrdnQuery req) {
req.setGrid("receiptData");
setFetchSize(req);
return setCollectionInfo(
new ModelAndView("jsonView"),
crdn01Service.getCrackdownList(req),
"crdn"
);
}
/** .<br />
* {@link Crdn01Service#getCrackdownList(CrdnQuery)}
* @param req
* @return jsonView
* <pre><code> {
* "crdnList": [ ],
* "crdnStart": ,
* "crdnFetchTotal": ,
* "crdnTotal":
* }</code></pre>
*/
@RequestMapping(name="민원답변대상자료 목록", value="/030/list.do")
public ModelAndView selectCivilComplaintAnswerTargetDataList(CrdnQuery req) {
req.setGrid("answerTargetData");
setFetchSize(req);
return setCollectionInfo(
new ModelAndView("jsonView"),
crdn01Service.getCrackdownList(req),
"crdn"
);
}
/** .<br /> /** .<br />
* {@link Crdn01Service#getCrackdownList(CrdnQuery)} * {@link Crdn01Service#getCrackdownList(CrdnQuery)}
* @param req * @param req
@ -35,8 +79,8 @@ public class Crdn01Controller extends ApplicationController {
* "crdnTotal": * "crdnTotal":
* }</code></pre> * }</code></pre>
*/ */
@RequestMapping(name="민원자료 목록", value="/010/list.do") @RequestMapping(name="민원자료 목록", value="/040/list.do")
public ModelAndView getCivilComplaintListList(CrdnQuery req) { public ModelAndView getCivilComplaintList(CrdnQuery req) {
setFetchSize(req); setFetchSize(req);
return setCollectionInfo( return setCollectionInfo(
new ModelAndView("jsonView"), new ModelAndView("jsonView"),

@ -110,7 +110,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
, C.DEL_DT , C.DEL_DT
, C.DEL_RSN , C.DEL_RSN
FROM TB_CRDN C FROM TB_CRDN C
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID) INNER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID)
LEFT OUTER JOIN TB_TEAM_INFO TI ON (C.TEAM_ID = TI.TEAM_ID) LEFT OUTER JOIN TB_TEAM_INFO TI ON (C.TEAM_ID = TI.TEAM_ID)
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID) LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID)
LEFT OUTER JOIN TB_LEVY L ON (C.LEVY_ID = L.LEVY_ID) LEFT OUTER JOIN TB_LEVY L ON (C.LEVY_ID = L.LEVY_ID)
@ -171,7 +171,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
, C.VHRNO <!-- 차량번호 --> , C.VHRNO <!-- 차량번호 -->
FROM TB_CRDN C FROM TB_CRDN C
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID) INNER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID)
WHERE C.DEL_YN = 'N' WHERE C.DEL_YN = 'N'
AND C.TASK_SE_CD = #{taskSeCd} AND C.TASK_SE_CD = #{taskSeCd}
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">
@ -198,7 +198,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
<!-- 서손/계도사유 --> <!-- 서손/계도사유 -->
<!-- 특기사항 --> <!-- 특기사항 -->
FROM TB_CRDN C FROM TB_CRDN C
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID) INNER JOIN TB_CRDN_CVLCPT CC ON (C.CRDN_ID = CC.CRDN_ID)
WHERE C.DEL_YN = 'N' WHERE C.DEL_YN = 'N'
AND C.TASK_SE_CD = #{taskSeCd} AND C.TASK_SE_CD = #{taskSeCd}
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">

Loading…
Cancel
Save