수납관리 추가.

main
jjh 1 year ago
parent 6fd78cabdc
commit a003e49ac1

@ -31,13 +31,13 @@ public class Excl01Controller extends ApplicationController {
public class METHOD_URL {
public static final String
levyExclusionMain = "/010/main.do" // 부과제외 관리 메인 화면
, getLevyExclList = "/010/list.do" // 부과제외 대장 목록 조회
, removeLevyExcl = "/010/remove.do" // 부과제외 대장 삭제
, removeLevyExclList = "/010/removes.do" // 부과제외 대장 목록 삭제
, getLevyExclInfo = "/020/info.do" // 부과제외 대장 조회
, createLevyExcl = "/020/create.do" // 부과제외 대장 등록
, updateLevyExcl = "/020/update.do" // 부과제외 대장 수정
levyExclusionMain = "/010/main.do" // 부과 제외 관리 메인 화면
, getLevyExclusionList = "/010/list.do" // 부과 제외 대장 목록 조회
, getLevyExclusionInfo = "/020/info.do" // 부과 제외 대장 조회
, createLevyExclusion = "/020/create.do" // 부과 제외 대장 등록
, updateLevyExclusion = "/020/update.do" // 부과 제외 대장 수정
, removeLevyExclusionList = "/010/removes.do" // 부과 제외 대장 목록 삭제
, removeLevyExclusion = "/010/remove.do" // 부과 제외 대장 삭제
;
}
@ -80,58 +80,12 @@ public class Excl01Controller extends ApplicationController {
* "levyExclTotal":
* }</code></pre>
*/
public ModelAndView getLevyExclList(LevyExclQuery req) {
public ModelAndView getLevyExclusionList(LevyExclQuery req) {
List<?> result = levyExclService.getLevyExclList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "levyExcl");
}
/** ID .
* @param levyExclID
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeLevyExcl(LevyExcl levyExcl) {
boolean saved = false;
String retMessage = levyExclService.removeLevyExcl(levyExcl);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** ID .
* @param levyExclIDs
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeLevyExclList(LevyExclQuery req) {
boolean saved = false;
String retMessage = levyExclService.removeLevyExclList(req);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** ID (info) .
* @param req
* @return fims/excl/excl01020-info jsonView
@ -139,7 +93,7 @@ public class Excl01Controller extends ApplicationController {
* "levyExclInfo":
* }</pre>
*/
public ModelAndView getLevyExclInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
public ModelAndView getLevyExclusionInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
DataObject levyExclInfo = levyExclService.getLevyExclInfo(req);
// 등록을 호출하였지만 등록된 부과제외 ID가 있는지 확인.
@ -180,7 +134,7 @@ public class Excl01Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView createLevyExcl(LevyExcl levyExcl) {
public ModelAndView createLevyExclusion(LevyExcl levyExcl) {
boolean saved = false;
String retMessage = levyExclService.createLevyExcl(levyExcl);
@ -202,7 +156,7 @@ public class Excl01Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView updateLevyExcl(LevyExcl levyExcl) {
public ModelAndView updateLevyExclusion(LevyExcl levyExcl) {
boolean saved = false;
String retMessage = levyExclService.updateLevyExcl(levyExcl);
@ -217,4 +171,50 @@ public class Excl01Controller extends ApplicationController {
.addObject("retMessage", retMessage);
}
/** ID .
* @param levyExclIDs
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeLevyExclusionList(LevyExclQuery req) {
boolean saved = false;
String retMessage = levyExclService.removeLevyExclList(req);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** ID .
* @param levyExclID
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeLevyExclusion(LevyExcl levyExcl) {
boolean saved = false;
String retMessage = levyExclService.removeLevyExcl(levyExcl);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
}

@ -36,15 +36,15 @@ public class Excl02Controller extends ApplicationController {
public class METHOD_URL {
public static final String
opinionSubmissionMain = "/010/main.do" // 의견제출 관리 메인 화면
, getOpnnSbmsnList = "/010/list.do" // 의견제출 대장 목록 조회
, removeOpnnSbmsn = "/010/remove.do" // 의견제출 대장 삭제
, removeOpnnSbmsnList = "/010/removes.do" // 의견제출 대장 목록 삭제
, getOpnnSbmsnInfo = "/020/info.do" // 의견제출 대장 조회
, createOpnnSbmsn = "/020/create.do" // 의견제출 대장 등럭
, updateOpnnSbmsn = "/020/update.do" // 의견제출 대장 수정
, getOpnnSbmsnAnswerInfo = "/030/info.do" // 의견제출 대장 심의 조회
, updateOpnnSbmsnAnswer = "/030/update.do" // 의견제출 대장 심의 수정
opinionSubmissionMain = "/010/main.do" // 의견제출 관리 메인 화면
, getOpinionSubmissionList = "/010/list.do" // 의견제출 대장 목록 조회
, getOpinionSubmissionInfo = "/020/info.do" // 의견제출 대장 조회
, createOpinionSubmission = "/020/create.do" // 의견제출 대장 등럭
, updateOpinionSubmission = "/020/update.do" // 의견제출 대장 수정
, getOpinionSubmissionAnswerInfo = "/030/info.do" // 의견제출 대장 심의 조회
, updateOpinionSubmissionAnswer = "/030/update.do" // 의견제출 대장 심의 수정
, removeOpinionSubmissionList = "/010/removes.do" // 의견제출 대장 목록 삭제
, removeOpinionSubmission = "/010/remove.do" // 의견제출 대장 삭제
;
}
@ -90,58 +90,12 @@ public class Excl02Controller extends ApplicationController {
* "opnnSbmsnTotal":
* }</code></pre>
*/
public ModelAndView getOpnnSbmsnList(LevyExclQuery req) {
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
List<?> result = opnnSbmsnService.getOpnnSbmsnList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "opnnSbmsn");
}
/** .
* @param opnnSbmsnId Id
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeOpnnSbmsn(OpnnSbmsn opnnSbmsn) {
boolean saved = false;
String retMessage = opnnSbmsnService.removeOpnnSbmsn(opnnSbmsn);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** .
* @param opnnSbmsnIDs IDs
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeOpnnSbmsnList(LevyExclQuery req) {
boolean saved = false;
String retMessage = opnnSbmsnService.removeOpnnSbmsnList(req);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** ID .
* @param opnnId ID
* @return fims/excl/excl02020-info jsonView
@ -149,7 +103,7 @@ public class Excl02Controller extends ApplicationController {
* "opnnSbmsnInfo":
* }</pre>
*/
public ModelAndView getOpnnSbmsnInfo(LevyExclQuery req) {
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
DataObject opnnSbmsnInfo = opnnSbmsnService.getOpnnSbmsnInfo(req);
// 등록을 호출하였지만 등록된 의견제출 ID가 있는지 확인.
@ -187,7 +141,7 @@ public class Excl02Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView createOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
// 파일
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
@ -216,7 +170,7 @@ public class Excl02Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView updateOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
// 파일
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
@ -245,7 +199,7 @@ public class Excl02Controller extends ApplicationController {
* "opnnSbmsnSttsInfo":
* }</pre>
*/
public ModelAndView getOpnnSbmsnAnswerInfo(LevyExclQuery req) {
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
DataObject opnnSbmsnInfo = opnnSbmsnService.getOpnnSbmsnInfo(req);
boolean json = jsonResponse();
@ -274,7 +228,7 @@ public class Excl02Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView updateOpnnSbmsnAnswer(OpnnSbmsn opnnSbmsn) {
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
boolean saved = false;
String retMessage = opnnSbmsnService.updateOpnnSbmsnAnswer(opnnSbmsn);
@ -289,4 +243,50 @@ public class Excl02Controller extends ApplicationController {
.addObject("retMessage", retMessage);
}
/** .
* @param opnnSbmsnIDs IDs
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeOpinionSubmissionList(LevyExclQuery req) {
boolean saved = false;
String retMessage = opnnSbmsnService.removeOpnnSbmsnList(req);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
/** .
* @param opnnSbmsnId Id
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
boolean saved = false;
String retMessage = opnnSbmsnService.removeOpnnSbmsn(opnnSbmsn);
if (retMessage.contains("[S]")) {
saved = true;
} else {
saved = false;
}
return new ModelAndView("jsonView")
.addObject("saved", saved)
.addObject("retMessage", retMessage);
}
}

@ -32,10 +32,10 @@ public class Excl03Controller extends ApplicationController {
public class METHOD_URL {
public static final String
crackdownReRegistrationMain = "/010/main.do" // 단속 재등록 관리 메인 화면
, getCrdnReRegList = "/010/list.do" // 단속 재등록 대장 목록 조회
, createCrdnReReg = "/010/create.do" // 단속 재등록 대장 등럭
, removeCrdnReReg = "/010/remove.do" // 단속 재등록 대장 삭제
crackdownReRegistrationMain = "/010/main.do" // 단속 재등록 관리 메인 화면
, getCrackdownReRegistrationList = "/010/list.do" // 단속 재등록 대장 목록 조회
, createCrackdownReRegistration = "/010/create.do" // 단속 재등록 대장 등럭
, removeCrackdownReRegistration = "/010/remove.do" // 단속 재등록 대장 삭제
;
}
@ -75,7 +75,7 @@ public class Excl03Controller extends ApplicationController {
* }</code></pre>
*/
@RequestMapping(name = "단속 재등록 리스트 조회", value = "/010/list.do")
public ModelAndView getCrdnReRegList(LevyExclQuery req) {
public ModelAndView getCrackdownReRegistrationList(LevyExclQuery req) {
List<?> result = crdnReRegService.getCrdnReRegList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "crdnReReg");
@ -89,7 +89,7 @@ public class Excl03Controller extends ApplicationController {
* }</code></pre>
*/
@PostMapping(name = "단속 재등록 등록", value = "/010/create.do")
public ModelAndView createCrdnReReg(CrdnReReg crdnReReg) {
public ModelAndView createCrackdownReRegistration(CrdnReReg crdnReReg) {
boolean saved = false;
String retMessage = crdnReRegService.createCrdnReReg(crdnReReg);
@ -113,7 +113,7 @@ public class Excl03Controller extends ApplicationController {
* }</code></pre>
*/
@PostMapping(name = "단속 재등록 제거", value = "/010/remove.do")
public ModelAndView removeCrdnReReg(CrdnReReg crdnReReg) {
public ModelAndView removeCrackdownReRegistration(CrdnReReg crdnReReg) {
boolean saved = crdnReRegService.removeCrdnReReg(crdnReReg);
return new ModelAndView("jsonView")

@ -12,7 +12,7 @@ import cokr.xit.fims.cmmn.CmmnQuery;
* ================================
* </pre>
*/
public class RcvmQuery extends CmmnQuery {
public class RcvmtQuery extends CmmnQuery {
private static final long serialVersionUID = 1L;
@ -30,7 +30,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(crdnId, () -> null);
}
public <T extends RcvmQuery> T setCrdnId(String crdnId) {
public <T extends RcvmtQuery> T setCrdnId(String crdnId) {
this.crdnId = crdnId;
return self();
@ -40,7 +40,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(levyId, () -> null);
}
public <T extends RcvmQuery> T setLevyId(String levyId) {
public <T extends RcvmtQuery> T setLevyId(String levyId) {
this.levyId = levyId;
return self();
@ -50,7 +50,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(rcvmtIDs, () -> null);
}
public <T extends RcvmQuery> T setRcvmtIDs(String... rcvmtIDs) {
public <T extends RcvmtQuery> T setRcvmtIDs(String... rcvmtIDs) {
this.rcvmtIDs = rcvmtIDs;
return self();
@ -60,7 +60,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(rcvmtId, () -> null);
}
public <T extends RcvmQuery> T setRcvmtId(String rcvmtId) {
public <T extends RcvmtQuery> T setRcvmtId(String rcvmtId) {
this.rcvmtId = rcvmtId;
return self();
@ -71,7 +71,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(callPurpose, () -> null);
}
public <T extends RcvmQuery> T setCallPurpose(String callPurpose) {
public <T extends RcvmtQuery> T setCallPurpose(String callPurpose) {
this.callPurpose = callPurpose;
return self();
@ -81,7 +81,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(delYn, () -> null);
}
public <T extends RcvmQuery> T setDelYn(String delYn) {
public <T extends RcvmtQuery> T setDelYn(String delYn) {
this.delYn = delYn;
return self();
@ -91,7 +91,7 @@ public class RcvmQuery extends CmmnQuery {
return ifEmpty(delRsn, () -> null);
}
public <T extends RcvmQuery> T setDelRsn(String delRsn) {
public <T extends RcvmtQuery> T setDelRsn(String delRsn) {
this.delRsn = delRsn;
return self();

@ -9,7 +9,7 @@ import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.rcvm.Rcvmt;
import cokr.xit.fims.rcvm.RcvmQuery;
import cokr.xit.fims.rcvm.RcvmtQuery;
/** DAO
*
@ -28,19 +28,19 @@ public interface RcvmtMapper extends AbstractMapper {
* @param req
* @return
*/
List<DataObject> selectRcvmtList(RcvmQuery req);
List<DataObject> selectRcvmtList(RcvmtQuery req);
/** .
* @param req
* @return
*/
List<DataObject> selectRcvmts(RcvmQuery req);
List<DataObject> selectRcvmts(RcvmtQuery req);
/** ID .
* @param rcvmtId ID
* @return
*/
default DataObject selectRcvmtInfo(RcvmQuery req) {
default DataObject selectRcvmtInfo(RcvmtQuery req) {
List<DataObject> rcvmts = selectRcvmts(req);
return !rcvmts.isEmpty() ? rcvmts.get(0) : null;

@ -5,7 +5,7 @@ import java.util.List;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.rcvm.Rcvmt;
import cokr.xit.fims.rcvm.RcvmQuery;
import cokr.xit.fims.rcvm.RcvmtQuery;
/** .
*
@ -17,19 +17,19 @@ import cokr.xit.fims.rcvm.RcvmQuery;
* ================================
* </pre>
*/
public interface Rcvm01Service {
public interface RcvmtService {
/** .
* @param req
* @return
*/
List<DataObject> getRcvmtList(RcvmQuery req);
List<DataObject> getRcvmtList(RcvmtQuery req);
/** .
* @param req
* @return
*/
List<DataObject> getRcvmts(RcvmQuery req);
List<DataObject> getRcvmts(RcvmtQuery req);
/** .
* @param rcvmt

@ -10,7 +10,7 @@ import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.rcvm.Rcvmt;
import cokr.xit.fims.rcvm.RcvmQuery;
import cokr.xit.fims.rcvm.RcvmtQuery;
import cokr.xit.fims.rcvm.dao.RcvmtMapper;
/** Bean
@ -23,8 +23,8 @@ import cokr.xit.fims.rcvm.dao.RcvmtMapper;
* ================================
* </pre>
*/
@Component("rcvm01Bean")
public class Rcvm01Bean extends AbstractComponent {
@Component("rcvmtBean")
public class RcvmtBean extends AbstractComponent {
/** 수납 대장 정보 DAO */
@Resource(name = "rcvmtMapper")
@ -34,7 +34,7 @@ public class Rcvm01Bean extends AbstractComponent {
* @param req
* @return
*/
public List<DataObject> getRcvmtList(RcvmQuery req) {
public List<DataObject> getRcvmtList(RcvmtQuery req) {
return rcvmtMapper.selectRcvmtList(req);
}
@ -42,7 +42,7 @@ public class Rcvm01Bean extends AbstractComponent {
* @param req
* @return
*/
public List<DataObject> getRcvmts(RcvmQuery req) {
public List<DataObject> getRcvmts(RcvmtQuery req) {
return rcvmtMapper.selectRcvmts(req);
}

@ -10,8 +10,8 @@ import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.rcvm.Rcvmt;
import cokr.xit.fims.rcvm.RcvmQuery;
import cokr.xit.fims.rcvm.service.Rcvm01Service;
import cokr.xit.fims.rcvm.RcvmtQuery;
import cokr.xit.fims.rcvm.service.RcvmtService;
/** .
*
@ -23,35 +23,36 @@ import cokr.xit.fims.rcvm.service.Rcvm01Service;
* ================================
* </pre>
*/
@Service("rcvm01Service")
public class Rcvm01ServiceBean extends AbstractServiceBean implements Rcvm01Service {
@Service("rcvmtService")
public class RcvmtServiceBean extends AbstractServiceBean implements RcvmtService {
/** 수납 대장 정보 Bean */
@Resource(name = "rcvm01Bean")
private Rcvm01Bean rcvm01Bean;
@Resource(name = "rcvmtBean")
private RcvmtBean rcvmtBean;
@Override
public List<DataObject> getRcvmtList(RcvmQuery req) {
return rcvm01Bean.getRcvmtList(req);
public List<DataObject> getRcvmtList(RcvmtQuery req) {
return rcvmtBean.getRcvmtList(req);
}
@Override
public List<DataObject> getRcvmts(RcvmQuery req) {
return rcvm01Bean.getRcvmts(req);
public List<DataObject> getRcvmts(RcvmtQuery req) {
return rcvmtBean.getRcvmts(req);
}
@Override
public boolean createRcvmt(Rcvmt rcvmt) {
return rcvm01Bean.createRcvmt(rcvmt);
return rcvmtBean.createRcvmt(rcvmt);
}
@Override
public boolean updateRcvmt(Rcvmt rcvmt) {
return rcvm01Bean.updateRcvmt(rcvmt);
return rcvmtBean.updateRcvmt(rcvmt);
}
@Override
public boolean removeRcvmt(Rcvmt rcvmt) {
return rcvm01Bean.removeRcvmt(rcvmt);
return rcvmtBean.removeRcvmt(rcvmt);
}
}

@ -1,18 +1,19 @@
package cokr.xit.fims.rcvm.web;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.rcvm.Rcvmt;
import cokr.xit.fims.rcvm.RcvmQuery;
import cokr.xit.fims.rcvm.service.Rcvm01Service;
import cokr.xit.fims.rcvm.RcvmtQuery;
import cokr.xit.fims.rcvm.service.RcvmtService;
/**
*
@ -24,24 +25,45 @@ import cokr.xit.fims.rcvm.service.Rcvm01Service;
* ================================
* </pre>
*/
@RequestMapping(name = "수납 대장", value = "/rcvmt")
public class Rcvm01Controller extends ApplicationController {
public static final String CLASS_URL = "/rcvm/rcvm01";
public class METHOD_URL {
public static final String
receivingMoneyMain = "/010/main.do" // 수납 관리 메인 화면
, getRcvmtList = "/010/list.do" // 수납 내용 대장 목록 조회
, getCvlcptDscsnInfo = "/020/info.do" // 수납 내용 정보 조회
, createCvlcptDscsn = "/020/create.do" // 수납 내용 대장 등럭
, updateCvlcptDscsn = "/020/update.do" // 수납 내용 대장 수정
, removeCvlcptDscsnList = "/010/removes.do" // 수납 내용 대장 목록 삭제
, removeCvlcptDscsn = "/010/remove.do" // 수납 내용 대장 삭제
;
}
/**수납 대장 서비스*/
@Resource(name = "rcvm01Service")
private Rcvm01Service rcvm01Service;
@Resource(name = "rcvmtService")
private RcvmtService rcvmtService;
/** (rcvmt/rcvmt-main) .
* {@link #getRcvmtList(RcvmtQuery) } .
* @return /rcvmt/rcvmt-main
*/
@RequestMapping(name = "수납 대장 메인", value = "/010/main.do")
public ModelAndView main() {
ModelAndView mav = getRcvmtList(new RcvmQuery().setPageNum(1));
public ModelAndView receivingMoneyMain() {
// View(jsp)
ModelAndView mav = new ModelAndView("fims/rcvm/rcvm01010-main");
// 사용자 정보
ManagedUser managedUser = (ManagedUser)currentUser().getUser();
mav.setViewName("/rcvmt/rcvmt-main");
// View(jsp)에서 사용할 공통코드를 조회
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
return mav.addObject("rcvmtList", toJson(mav.getModel().get("rcvmtList")));
return mav.addObject("pageName", "sprt04010") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
.addObject("infoPrefix", "rcvmt") // prefix
.addObject("sggCd", managedUser.getOrgID()) // 시군구 코드(SGG_CD)
.addObject("FIM054List", commonCodes.get("FIM054")) // 업무 구분 코드(TASK_SE_CD)
;
}
/** .<br />
@ -55,9 +77,8 @@ public class Rcvm01Controller extends ApplicationController {
* "rcvmtTotal":
* }</code></pre>
*/
@RequestMapping(name = "수납 대장 조회", value = "/010/list.do")
public ModelAndView getRcvmtList(RcvmQuery req) {
List<?> result = rcvm01Service.getRcvmtList(setFetchSize(req));
public ModelAndView getRcvmtList(RcvmtQuery req) {
List<?> result = rcvmtService.getRcvmtList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "rcvmt");
}
@ -69,9 +90,8 @@ public class Rcvm01Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "수납 대장 등록", value = "/010/create.do")
public ModelAndView create(Rcvmt rcvmt) {
boolean saved = rcvm01Service.createRcvmt(rcvmt);
boolean saved = rcvmtService.createRcvmt(rcvmt);
return new ModelAndView("jsonView")
.addObject("saved", saved);
@ -84,9 +104,8 @@ public class Rcvm01Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "수납 대장 수정", value = "/010/update.do")
public ModelAndView update(Rcvmt rcvmt) {
boolean saved = rcvm01Service.updateRcvmt(rcvmt);
boolean saved = rcvmtService.updateRcvmt(rcvmt);
return new ModelAndView("jsonView")
.addObject("saved", saved);
@ -100,9 +119,8 @@ public class Rcvm01Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "수납 대장 제거", value = "/010/remove.do")
public ModelAndView remove(Rcvmt rcvmt) {
boolean saved = rcvm01Service.removeRcvmt(rcvmt);
boolean saved = rcvmtService.removeRcvmt(rcvmt);
return new ModelAndView("jsonView")
.addObject("saved", saved);

@ -38,8 +38,14 @@ public class CvlcptDscsnQuery extends CmmnQuery {
// 동적 검색 조건
private String inquiryCondition;
private String cvlcptRcptSeCd; // 민원 접수 구분 코드
private String vhrno; // 차량번호
private String rtpyrNo; // 납부자 번호
private String dscsnYmd; // 상담 일자
private String weekNm; // 요일 명
private String cvlprNm; // 민원인 명
private String cvlprCttpc; // 민원인 연락처
private String dscsnCn; // 상담 내용
// ETC
private String callPurpose; // 자료 조회시 호출용도. (view 조회, create 등록, update 수정, refresh 재조회)
@ -193,6 +199,16 @@ public class CvlcptDscsnQuery extends CmmnQuery {
return self();
}
public String getCvlcptRcptSeCd() {
return ifEmpty(cvlcptRcptSeCd, () -> null);
}
public <T extends CvlcptDscsnQuery> T setCvlcptRcptSeCd(String cvlcptRcptSeCd) {
this.cvlcptRcptSeCd = cvlcptRcptSeCd;
return self();
}
public String getVhrno() {
return ifEmpty(vhrno, () -> null);
}
@ -212,6 +228,56 @@ public class CvlcptDscsnQuery extends CmmnQuery {
return self();
}
public String getDscsnYmd() {
return ifEmpty(dscsnYmd, () -> null);
}
public <T extends CvlcptDscsnQuery> T setDscsnYmd(String dscsnYmd) {
this.dscsnYmd = dscsnYmd;
return self();
}
public String getWeekNm() {
return ifEmpty(weekNm, () -> null);
}
public <T extends CvlcptDscsnQuery> T setWeekNm(String weekNm) {
this.weekNm = weekNm;
return self();
}
public String getCvlprNm() {
return ifEmpty(cvlprNm, () -> null);
}
public <T extends CvlcptDscsnQuery> T setCvlprNm(String cvlprNm) {
this.cvlprNm = cvlprNm;
return self();
}
public String getCvlprCttpc() {
return ifEmpty(cvlprCttpc, () -> null);
}
public <T extends CvlcptDscsnQuery> T setCvlprCttpc(String cvlprCttpc) {
this.cvlprCttpc = cvlprCttpc;
return self();
}
public String getDscsnCn() {
return ifEmpty(dscsnCn, () -> null);
}
public <T extends CvlcptDscsnQuery> T setDscsnCn(String dscsnCn) {
this.dscsnCn = dscsnCn;
return self();
}
// 동적 검색 조건 ///////////////////////////////////////////////////////////////
// ETC /////////////////////////////////////////////////////////////////////

@ -23,8 +23,8 @@ import cokr.xit.fims.levy.service.LevyService;
import cokr.xit.fims.levy.service.RductService;
import cokr.xit.fims.payer.PayerQuery;
import cokr.xit.fims.payer.service.PayerService;
import cokr.xit.fims.rcvm.RcvmQuery;
import cokr.xit.fims.rcvm.service.Rcvm01Service;
import cokr.xit.fims.rcvm.RcvmtQuery;
import cokr.xit.fims.rcvm.service.RcvmtService;
import cokr.xit.fims.sndb.SndbQuery;
import cokr.xit.fims.sndb.service.SndngService;
import cokr.xit.fims.sprt.CvlcptDscsnQuery;
@ -87,8 +87,8 @@ public class Sprt02Controller extends ApplicationController {
protected RductService rductService;
/** 수납 대장 서비스*/
@Resource(name = "rcvm01Service")
protected Rcvm01Service rcvm01Service;
@Resource(name = "rcvmtService")
protected RcvmtService rcvmtService;
/** 단속 상태 이력 서비스 */
@Resource(name = "crdnSttsHstryService")
@ -442,18 +442,11 @@ public class Sprt02Controller extends ApplicationController {
* }</code></pre>
*/
public ModelAndView getRcvmtInfo(SprtQuery req) {
RcvmQuery rcvmQuery = new RcvmQuery();
if (req.getCallPurpose() == null) {
rcvmQuery.setCallPurpose("view");
} else {
rcvmQuery.setCallPurpose(req.getCallPurpose());
}
rcvmQuery.setCrdnId(req.getCrdnId());
rcvmQuery.setDelYn(req.getDelYn());
rcvmQuery.setOrderBy("R.RCVMT_SN DESC");
List<DataObject> rcvmt = rcvm01Service.getRcvmts(rcvmQuery);
//
List<DataObject> rcvmt = rcvmtService.getRcvmts(new RcvmtQuery().setCallPurpose(req.getCallPurpose())
.setCrdnId(req.getCrdnId())
.setDelYn(req.getDelYn())
.setOrderBy("R.RCVMT_SN DESC"));
boolean json = jsonResponse();

@ -31,13 +31,13 @@ public class Sprt04Controller extends ApplicationController {
public class METHOD_URL {
public static final String
civilComplaintDiscussionMain = "/010/main.do" // 민원 상담 관리 메인 화면
, getCvlcptDscsnList = "/010/list.do" // 민원 상담 내용 대장 목록 조회
, removeCvlcptDscsn = "/010/remove.do" // 민원 상담 내용 대장 삭제
, removeCvlcptDscsnList = "/010/removes.do" // 민원 상담 내용 대장 목록 삭제
, getCvlcptDscsnInfo = "/020/info.do" // 민원 상담 내용 정보 조회
, createCvlcptDscsn = "/020/create.do" // 민원 상담 내용 대장 등럭
, updateCvlcptDscsn = "/020/update.do" // 민원 상담 내용 대장 수정
civilComplaintDiscussionMain = "/010/main.do" // 민원 상담 관리 메인 화면
, getCvlcptDscsnList = "/010/list.do" // 민원 상담 내용 대장 목록 조회
, getCvlcptDscsnInfo = "/020/info.do" // 민원 상담 내용 정보 조회
, createCvlcptDscsn = "/020/create.do" // 민원 상담 내용 대장 등럭
, updateCvlcptDscsn = "/020/update.do" // 민원 상담 내용 대장 수정
, removeCvlcptDscsnList = "/010/removes.do" // 민원 상담 내용 대장 목록 삭제
, removeCvlcptDscsn = "/010/remove.do" // 민원 상담 내용 대장 삭제
;
}
@ -50,7 +50,9 @@ public class Sprt04Controller extends ApplicationController {
* @return /fims/sprt/sprt04010
*/
public ModelAndView civilComplaintDiscussionMain() {
// View(jsp)
ModelAndView mav = new ModelAndView("fims/sprt/sprt04010-main");
// 사용자 정보
ManagedUser managedUser = (ManagedUser)currentUser().getUser();

@ -16,6 +16,7 @@ import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.LevyExclQuery;
import cokr.xit.fims.excl.LevyExcl;
import cokr.xit.fims.excl.OpnnSbmsn;
import cokr.xit.fims.excl.web.Excl01Controller.METHOD_URL;
import cokr.xit.fims.levy.LevyQuery;
import cokr.xit.fims.levy.Rduct;
import cokr.xit.fims.payer.Payer;
@ -23,6 +24,9 @@ import cokr.xit.fims.payer.PayerQuery;
import cokr.xit.fims.sprt.CvlcptDscsn;
import cokr.xit.fims.sprt.CvlcptDscsnQuery;
import cokr.xit.fims.sprt.SprtQuery;
import cokr.xit.fims.task.web.DpvController.Excl01Controller;
import cokr.xit.fims.task.web.DpvController.Excl02Controller;
import cokr.xit.fims.task.web.DpvController.Excl03Controller;
@Controller
public class BpvController {
@ -378,43 +382,43 @@ public class BpvController {
}
@Controller
@RequestMapping(name="전용차로과태료업무 부과제외_부과제외관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
@RequestMapping(name="전용차로과태료업무 부과제외_부과제외 관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {
@Override
@RequestMapping(name="전용차로과태료업무 부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclList)
public ModelAndView getLevyExclList(LevyExclQuery req) {
return super.getLevyExclList(req);
@RequestMapping(name="부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclusionList)
public ModelAndView getLevyExclusionList(LevyExclQuery req) {
return super.getLevyExclusionList(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 부과제외 대장 삭제", value=METHOD_URL.removeLevyExcl)
public ModelAndView removeLevyExcl(LevyExcl levyExcl) {
return super.removeLevyExcl(levyExcl);
@RequestMapping(name="부과제외 정보 조회", value=METHOD_URL.getLevyExclusionInfo)
public ModelAndView getLevyExclusionInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclusionInfo(saveCallbackFuncName, savedCallbackFuncName, req);
}
@Override
@RequestMapping(name="전용차로과태료업무 부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclList)
public ModelAndView removeLevyExclList(LevyExclQuery req) {
return super.removeLevyExclList(req);
@RequestMapping(name="부과제외 대장 등록", value=METHOD_URL.createLevyExclusion)
public ModelAndView createLevyExclusion(LevyExcl levyExcl) {
return super.createLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="전용차로과태료업무 부과제외 정보 조회", value=METHOD_URL.getLevyExclInfo)
public ModelAndView getLevyExclInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclInfo(saveCallbackFuncName, savedCallbackFuncName, req);
@RequestMapping(name="부과제외 대장 수정", value=METHOD_URL.updateLevyExclusion)
public ModelAndView updateLevyExclusion(LevyExcl levyExcl) {
return super.updateLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="전용차로과태료업무 부과제외 대장 등록", value=METHOD_URL.createLevyExcl)
public ModelAndView createLevyExcl(LevyExcl levyExcl) {
return super.createLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclusionList)
public ModelAndView removeLevyExclusionList(LevyExclQuery req) {
return super.removeLevyExclusionList(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 부과제외 대장 수정", value=METHOD_URL.updateLevyExcl)
public ModelAndView updateLevyExcl(LevyExcl levyExcl) {
return super.updateLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 삭제", value=METHOD_URL.removeLevyExclusion)
public ModelAndView removeLevyExclusion(LevyExcl levyExcl) {
return super.removeLevyExclusion(levyExcl);
}
}
@ -424,75 +428,75 @@ public class BpvController {
class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 목록 조회", value=METHOD_URL.getOpnnSbmsnList)
public ModelAndView getOpnnSbmsnList(LevyExclQuery req) {
return super.getOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 목록 조회", value=METHOD_URL.getOpinionSubmissionList)
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
return super.getOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 삭제", value=METHOD_URL.removeOpnnSbmsn)
public ModelAndView removeOpnnSbmsn(OpnnSbmsn opnnSbmsn) {
return super.removeOpnnSbmsn(opnnSbmsn);
@RequestMapping(name="의견제출 정보 조회", value=METHOD_URL.getOpinionSubmissionInfo)
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
return super.getOpinionSubmissionInfo(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 목록 삭제", value=METHOD_URL.removeOpnnSbmsnList)
public ModelAndView removeOpnnSbmsnList(LevyExclQuery req) {
return super.removeOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 등록", value=METHOD_URL.createOpinionSubmission)
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 정보 조회", value=METHOD_URL.getOpnnSbmsnInfo)
public ModelAndView getOpnnSbmsnInfo(LevyExclQuery req) {
return super.getOpnnSbmsnInfo(req);
@RequestMapping(name="의견제출 대장 수정", value=METHOD_URL.updateOpinionSubmission)
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 등록", value=METHOD_URL.createOpnnSbmsn)
public ModelAndView createOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 조회", value=METHOD_URL.getOpinionSubmissionAnswerInfo)
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
return super.getOpinionSubmissionAnswerInfo(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 수정", value=METHOD_URL.updateOpnnSbmsn)
public ModelAndView updateOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 수정", value=METHOD_URL.updateOpinionSubmissionAnswer)
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpinionSubmissionAnswer(opnnSbmsn);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 심의 조회", value=METHOD_URL.getOpnnSbmsnAnswerInfo)
public ModelAndView getOpnnSbmsnAnswerInfo(LevyExclQuery req) {
return super.getOpnnSbmsnAnswerInfo(req);
@RequestMapping(name="의견제출 대장 목록 삭제", value=METHOD_URL.removeOpinionSubmissionList)
public ModelAndView removeOpinionSubmissionList(LevyExclQuery req) {
return super.removeOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 의견제출 대장 심의 수정", value=METHOD_URL.updateOpnnSbmsnAnswer)
public ModelAndView updateOpnnSbmsnAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpnnSbmsnAnswer(opnnSbmsn);
@RequestMapping(name="의견제출 대장 삭제", value=METHOD_URL.removeOpinionSubmission)
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
return super.removeOpinionSubmission(opnnSbmsn);
}
}
@Controller
@RequestMapping(name="전용차로과태료업무 부과제외_재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
@RequestMapping(name="전용차로과태료업무 부과제외_단속재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {
@Override
@RequestMapping(name="전용차로과태료업무 단속재등록 대장 목록 조회", value=METHOD_URL.getCrdnReRegList)
public ModelAndView getCrdnReRegList(LevyExclQuery req) {
return super.getCrdnReRegList(req);
@RequestMapping(name="단속재등록 대장 목록 조회", value=METHOD_URL.getCrackdownReRegistrationList)
public ModelAndView getCrackdownReRegistrationList(LevyExclQuery req) {
return super.getCrackdownReRegistrationList(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 단속재등록 대장 등록", value=METHOD_URL.createCrdnReReg)
public ModelAndView createCrdnReReg(CrdnReReg crdnReReg) {
return super.createCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 등록", value=METHOD_URL.createCrackdownReRegistration)
public ModelAndView createCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.createCrackdownReRegistration(crdnReReg);
}
@Override
@RequestMapping(name="전용차로과태료업무 단속재등록 대장 삭제", value=METHOD_URL.removeCrdnReReg)
public ModelAndView removeCrdnReReg(CrdnReReg crdnReReg) {
return super.removeCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 삭제", value=METHOD_URL.removeCrackdownReRegistration)
public ModelAndView removeCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.removeCrackdownReRegistration(crdnReReg);
}
}

@ -287,16 +287,16 @@ public class CmnController {
}
@Controller
@RequestMapping(name = "고지서 발송", value = Sndb03Controller.CLASS_URL)
class Sndb03Controller extends cokr.xit.fims.sndb.web.Sndb03Controller {
@RequestMapping(name = "수납 관리", value = Rcvm01Controller.CLASS_URL)
class Rcvm01Controller extends cokr.xit.fims.rcvm.web.Rcvm01Controller {
/** .
* @return fims/sndb/sndb03030-main
/** .
* @return fims/rcvm/rcvm01010-main
*/
@Override
@RequestMapping(name = "고지서 발송 현황", value = METHOD_URL.noticeSheetSendingMain)
public ModelAndView noticeSheetSendingMain() {
return super.noticeSheetSendingMain();
@RequestMapping(name = "수납 관리", value = METHOD_URL.receivingMoneyMain)
public ModelAndView receivingMoneyMain() {
return super.receivingMoneyMain();
}
}

@ -331,43 +331,43 @@ public class DpvController {
}
@Controller
@RequestMapping(name="장애인과태료업무 부과제외_부과제외관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
@RequestMapping(name="장애인과태료업무 부과제외_부과제외 관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {
@Override
@RequestMapping(name="장애인과태료업무 부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclList)
public ModelAndView getLevyExclList(LevyExclQuery req) {
return super.getLevyExclList(req);
@RequestMapping(name="부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclusionList)
public ModelAndView getLevyExclusionList(LevyExclQuery req) {
return super.getLevyExclusionList(req);
}
@Override
@RequestMapping(name="장애인과태료업무 부과제외 대장 삭제", value=METHOD_URL.removeLevyExcl)
public ModelAndView removeLevyExcl(LevyExcl levyExcl) {
return super.removeLevyExcl(levyExcl);
@RequestMapping(name="부과제외 정보 조회", value=METHOD_URL.getLevyExclusionInfo)
public ModelAndView getLevyExclusionInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclusionInfo(saveCallbackFuncName, savedCallbackFuncName, req);
}
@Override
@RequestMapping(name="장애인과태료업무 부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclList)
public ModelAndView removeLevyExclList(LevyExclQuery req) {
return super.removeLevyExclList(req);
@RequestMapping(name="부과제외 대장 등록", value=METHOD_URL.createLevyExclusion)
public ModelAndView createLevyExclusion(LevyExcl levyExcl) {
return super.createLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="장애인과태료업무 부과제외 정보 조회", value=METHOD_URL.getLevyExclInfo)
public ModelAndView getLevyExclInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclInfo(saveCallbackFuncName, savedCallbackFuncName, req);
@RequestMapping(name="부과제외 대장 수정", value=METHOD_URL.updateLevyExclusion)
public ModelAndView updateLevyExclusion(LevyExcl levyExcl) {
return super.updateLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="장애인과태료업무 부과제외 대장 등록", value=METHOD_URL.createLevyExcl)
public ModelAndView createLevyExcl(LevyExcl levyExcl) {
return super.createLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclusionList)
public ModelAndView removeLevyExclusionList(LevyExclQuery req) {
return super.removeLevyExclusionList(req);
}
@Override
@RequestMapping(name="장애인과태료업무 부과제외 대장 수정", value=METHOD_URL.updateLevyExcl)
public ModelAndView updateLevyExcl(LevyExcl levyExcl) {
return super.updateLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 삭제", value=METHOD_URL.removeLevyExclusion)
public ModelAndView removeLevyExclusion(LevyExcl levyExcl) {
return super.removeLevyExclusion(levyExcl);
}
}
@ -377,75 +377,75 @@ public class DpvController {
class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 목록 조회", value=METHOD_URL.getOpnnSbmsnList)
public ModelAndView getOpnnSbmsnList(LevyExclQuery req) {
return super.getOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 목록 조회", value=METHOD_URL.getOpinionSubmissionList)
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
return super.getOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 삭제", value=METHOD_URL.removeOpnnSbmsn)
public ModelAndView removeOpnnSbmsn(OpnnSbmsn opnnSbmsn) {
return super.removeOpnnSbmsn(opnnSbmsn);
@RequestMapping(name="의견제출 정보 조회", value=METHOD_URL.getOpinionSubmissionInfo)
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
return super.getOpinionSubmissionInfo(req);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 목록 삭제", value=METHOD_URL.removeOpnnSbmsnList)
public ModelAndView removeOpnnSbmsnList(LevyExclQuery req) {
return super.removeOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 등록", value=METHOD_URL.createOpinionSubmission)
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 정보 조회", value=METHOD_URL.getOpnnSbmsnInfo)
public ModelAndView getOpnnSbmsnInfo(LevyExclQuery req) {
return super.getOpnnSbmsnInfo(req);
@RequestMapping(name="의견제출 대장 수정", value=METHOD_URL.updateOpinionSubmission)
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 등록", value=METHOD_URL.createOpnnSbmsn)
public ModelAndView createOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 조회", value=METHOD_URL.getOpinionSubmissionAnswerInfo)
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
return super.getOpinionSubmissionAnswerInfo(req);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 수정", value=METHOD_URL.updateOpnnSbmsn)
public ModelAndView updateOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 수정", value=METHOD_URL.updateOpinionSubmissionAnswer)
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpinionSubmissionAnswer(opnnSbmsn);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 심의 조회", value=METHOD_URL.getOpnnSbmsnAnswerInfo)
public ModelAndView getOpnnSbmsnAnswerInfo(LevyExclQuery req) {
return super.getOpnnSbmsnAnswerInfo(req);
@RequestMapping(name="의견제출 대장 목록 삭제", value=METHOD_URL.removeOpinionSubmissionList)
public ModelAndView removeOpinionSubmissionList(LevyExclQuery req) {
return super.removeOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="장애인과태료업무 의견제출 대장 심의 수정", value=METHOD_URL.updateOpnnSbmsnAnswer)
public ModelAndView updateOpnnSbmsnAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpnnSbmsnAnswer(opnnSbmsn);
@RequestMapping(name="의견제출 대장 삭제", value=METHOD_URL.removeOpinionSubmission)
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
return super.removeOpinionSubmission(opnnSbmsn);
}
}
@Controller
@RequestMapping(name="장애인과태료업무 부과제외_재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
@RequestMapping(name="장애인과태료업무 부과제외_단속재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {
@Override
@RequestMapping(name="장애인과태료업무 단속재등록 대장 목록 조회", value=METHOD_URL.getCrdnReRegList)
public ModelAndView getCrdnReRegList(LevyExclQuery req) {
return super.getCrdnReRegList(req);
@RequestMapping(name="단속재등록 대장 목록 조회", value=METHOD_URL.getCrackdownReRegistrationList)
public ModelAndView getCrackdownReRegistrationList(LevyExclQuery req) {
return super.getCrackdownReRegistrationList(req);
}
@Override
@RequestMapping(name="장애인과태료업무 단속재등록 대장 등록", value=METHOD_URL.createCrdnReReg)
public ModelAndView createCrdnReReg(CrdnReReg crdnReReg) {
return super.createCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 등록", value=METHOD_URL.createCrackdownReRegistration)
public ModelAndView createCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.createCrackdownReRegistration(crdnReReg);
}
@Override
@RequestMapping(name="장애인과태료업무 단속재등록 대장 삭제", value=METHOD_URL.removeCrdnReReg)
public ModelAndView removeCrdnReReg(CrdnReReg crdnReReg) {
return super.removeCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 삭제", value=METHOD_URL.removeCrackdownReRegistration)
public ModelAndView removeCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.removeCrackdownReRegistration(crdnReReg);
}
}
@ -600,13 +600,13 @@ public class DpvController {
}
@Controller
@RequestMapping(name="장애인과태료업무 발송,반송 관리_반송, 공시송달", value=CLASS_URL+Sndb04Controller.CLASS_URL)
class Sndb04Controller extends cokr.xit.fims.sndb.web.Sndb04Controller {
@RequestMapping(name="장애인과태료업무 수납 관리", value=CLASS_URL+Rcvm01Controller.CLASS_URL)
class Rcvm01Controller extends cokr.xit.fims.rcvm.web.Rcvm01Controller {
}
@Controller
@RequestMapping(name="장애인과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01")
class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {}

@ -14,6 +14,7 @@ import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.LevyExclQuery;
import cokr.xit.fims.excl.LevyExcl;
import cokr.xit.fims.excl.OpnnSbmsn;
import cokr.xit.fims.excl.web.Excl01Controller.METHOD_URL;
import cokr.xit.fims.levy.LevyQuery;
import cokr.xit.fims.levy.Rduct;
import cokr.xit.fims.payer.Payer;
@ -21,6 +22,9 @@ import cokr.xit.fims.payer.PayerQuery;
import cokr.xit.fims.sprt.CvlcptDscsn;
import cokr.xit.fims.sprt.CvlcptDscsnQuery;
import cokr.xit.fims.sprt.SprtQuery;
import cokr.xit.fims.task.web.DpvController.Excl01Controller;
import cokr.xit.fims.task.web.DpvController.Excl02Controller;
import cokr.xit.fims.task.web.DpvController.Excl03Controller;
@Controller
public class EcaController {
@ -299,43 +303,43 @@ public class EcaController {
}
@Controller
@RequestMapping(name="전기차과태료업무 부과제외_부과제외관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
@RequestMapping(name="전기차과태료업무 부과제외_부과제외 관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {
@Override
@RequestMapping(name="전기차과태료업무 부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclList)
public ModelAndView getLevyExclList(LevyExclQuery req) {
return super.getLevyExclList(req);
@RequestMapping(name="부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclusionList)
public ModelAndView getLevyExclusionList(LevyExclQuery req) {
return super.getLevyExclusionList(req);
}
@Override
@RequestMapping(name="전기차과태료업무 부과제외 대장 삭제", value=METHOD_URL.removeLevyExcl)
public ModelAndView removeLevyExcl(LevyExcl levyExcl) {
return super.removeLevyExcl(levyExcl);
@RequestMapping(name="부과제외 정보 조회", value=METHOD_URL.getLevyExclusionInfo)
public ModelAndView getLevyExclusionInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclusionInfo(saveCallbackFuncName, savedCallbackFuncName, req);
}
@Override
@RequestMapping(name="전기차과태료업무 부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclList)
public ModelAndView removeLevyExclList(LevyExclQuery req) {
return super.removeLevyExclList(req);
@RequestMapping(name="부과제외 대장 등록", value=METHOD_URL.createLevyExclusion)
public ModelAndView createLevyExclusion(LevyExcl levyExcl) {
return super.createLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="전기차과태료업무 부과제외 정보 조회", value=METHOD_URL.getLevyExclInfo)
public ModelAndView getLevyExclInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclInfo(saveCallbackFuncName, savedCallbackFuncName, req);
@RequestMapping(name="부과제외 대장 수정", value=METHOD_URL.updateLevyExclusion)
public ModelAndView updateLevyExclusion(LevyExcl levyExcl) {
return super.updateLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="전기차과태료업무 부과제외 대장 등록", value=METHOD_URL.createLevyExcl)
public ModelAndView createLevyExcl(LevyExcl levyExcl) {
return super.createLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclusionList)
public ModelAndView removeLevyExclusionList(LevyExclQuery req) {
return super.removeLevyExclusionList(req);
}
@Override
@RequestMapping(name="전기차과태료업무 부과제외 대장 수정", value=METHOD_URL.updateLevyExcl)
public ModelAndView updateLevyExcl(LevyExcl levyExcl) {
return super.updateLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 삭제", value=METHOD_URL.removeLevyExclusion)
public ModelAndView removeLevyExclusion(LevyExcl levyExcl) {
return super.removeLevyExclusion(levyExcl);
}
}
@ -345,75 +349,75 @@ public class EcaController {
class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 목록 조회", value=METHOD_URL.getOpnnSbmsnList)
public ModelAndView getOpnnSbmsnList(LevyExclQuery req) {
return super.getOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 목록 조회", value=METHOD_URL.getOpinionSubmissionList)
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
return super.getOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 삭제", value=METHOD_URL.removeOpnnSbmsn)
public ModelAndView removeOpnnSbmsn(OpnnSbmsn opnnSbmsn) {
return super.removeOpnnSbmsn(opnnSbmsn);
@RequestMapping(name="의견제출 정보 조회", value=METHOD_URL.getOpinionSubmissionInfo)
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
return super.getOpinionSubmissionInfo(req);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 목록 삭제", value=METHOD_URL.removeOpnnSbmsnList)
public ModelAndView removeOpnnSbmsnList(LevyExclQuery req) {
return super.removeOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 등록", value=METHOD_URL.createOpinionSubmission)
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 정보 조회", value=METHOD_URL.getOpnnSbmsnInfo)
public ModelAndView getOpnnSbmsnInfo(LevyExclQuery req) {
return super.getOpnnSbmsnInfo(req);
@RequestMapping(name="의견제출 대장 수정", value=METHOD_URL.updateOpinionSubmission)
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 등록", value=METHOD_URL.createOpnnSbmsn)
public ModelAndView createOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 조회", value=METHOD_URL.getOpinionSubmissionAnswerInfo)
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
return super.getOpinionSubmissionAnswerInfo(req);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 수정", value=METHOD_URL.updateOpnnSbmsn)
public ModelAndView updateOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 수정", value=METHOD_URL.updateOpinionSubmissionAnswer)
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpinionSubmissionAnswer(opnnSbmsn);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 심의 조회", value=METHOD_URL.getOpnnSbmsnAnswerInfo)
public ModelAndView getOpnnSbmsnAnswerInfo(LevyExclQuery req) {
return super.getOpnnSbmsnAnswerInfo(req);
@RequestMapping(name="의견제출 대장 목록 삭제", value=METHOD_URL.removeOpinionSubmissionList)
public ModelAndView removeOpinionSubmissionList(LevyExclQuery req) {
return super.removeOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="전기차과태료업무 의견제출 대장 심의 수정", value=METHOD_URL.updateOpnnSbmsnAnswer)
public ModelAndView updateOpnnSbmsnAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpnnSbmsnAnswer(opnnSbmsn);
@RequestMapping(name="의견제출 대장 삭제", value=METHOD_URL.removeOpinionSubmission)
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
return super.removeOpinionSubmission(opnnSbmsn);
}
}
@Controller
@RequestMapping(name="전기차과태료업무 부과제외_재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
@RequestMapping(name="전기차과태료업무 부과제외_단속재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {
@Override
@RequestMapping(name="전기차과태료업무 단속재등록 대장 목록 조회", value=METHOD_URL.getCrdnReRegList)
public ModelAndView getCrdnReRegList(LevyExclQuery req) {
return super.getCrdnReRegList(req);
@RequestMapping(name="단속재등록 대장 목록 조회", value=METHOD_URL.getCrackdownReRegistrationList)
public ModelAndView getCrackdownReRegistrationList(LevyExclQuery req) {
return super.getCrackdownReRegistrationList(req);
}
@Override
@RequestMapping(name="전기차과태료업무 단속재등록 대장 등록", value=METHOD_URL.createCrdnReReg)
public ModelAndView createCrdnReReg(CrdnReReg crdnReReg) {
return super.createCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 등록", value=METHOD_URL.createCrackdownReRegistration)
public ModelAndView createCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.createCrackdownReRegistration(crdnReReg);
}
@Override
@RequestMapping(name="전기차과태료업무 단속재등록 대장 삭제", value=METHOD_URL.removeCrdnReReg)
public ModelAndView removeCrdnReReg(CrdnReReg crdnReReg) {
return super.removeCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 삭제", value=METHOD_URL.removeCrackdownReRegistration)
public ModelAndView removeCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.removeCrackdownReRegistration(crdnReReg);
}
}

@ -15,6 +15,7 @@ import cokr.xit.fims.excl.CrdnReReg;
import cokr.xit.fims.excl.LevyExclQuery;
import cokr.xit.fims.excl.LevyExcl;
import cokr.xit.fims.excl.OpnnSbmsn;
import cokr.xit.fims.excl.web.Excl01Controller.METHOD_URL;
import cokr.xit.fims.levy.LevyQuery;
import cokr.xit.fims.levy.Rduct;
import cokr.xit.fims.payer.Payer;
@ -22,6 +23,9 @@ import cokr.xit.fims.payer.PayerQuery;
import cokr.xit.fims.sprt.CvlcptDscsn;
import cokr.xit.fims.sprt.CvlcptDscsnQuery;
import cokr.xit.fims.sprt.SprtQuery;
import cokr.xit.fims.task.web.EcaController.Excl01Controller;
import cokr.xit.fims.task.web.EcaController.Excl02Controller;
import cokr.xit.fims.task.web.EcaController.Excl03Controller;
@Controller
public class PvsController {
@ -348,43 +352,43 @@ public class PvsController {
}
@Controller
@RequestMapping(name="주정차과태료업무 부과제외_부과제외관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
@RequestMapping(name="주정차과태료업무 부과제외_부과제외 관리", value=CLASS_URL+Excl01Controller.CLASS_URL)
class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {
@Override
@RequestMapping(name="주정차과태료업무 부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclList)
public ModelAndView getLevyExclList(LevyExclQuery req) {
return super.getLevyExclList(req);
@RequestMapping(name="부과제외 대장 목록 조회", value=METHOD_URL.getLevyExclusionList)
public ModelAndView getLevyExclusionList(LevyExclQuery req) {
return super.getLevyExclusionList(req);
}
@Override
@RequestMapping(name="주정차과태료업무 부과제외 대장 삭제", value=METHOD_URL.removeLevyExcl)
public ModelAndView removeLevyExcl(LevyExcl levyExcl) {
return super.removeLevyExcl(levyExcl);
@RequestMapping(name="부과제외 정보 조회", value=METHOD_URL.getLevyExclusionInfo)
public ModelAndView getLevyExclusionInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclusionInfo(saveCallbackFuncName, savedCallbackFuncName, req);
}
@Override
@RequestMapping(name="주정차과태료업무 부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclList)
public ModelAndView removeLevyExclList(LevyExclQuery req) {
return super.removeLevyExclList(req);
@RequestMapping(name="부과제외 대장 등록", value=METHOD_URL.createLevyExclusion)
public ModelAndView createLevyExclusion(LevyExcl levyExcl) {
return super.createLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="주정차과태료업무 부과제외 정보 조회", value=METHOD_URL.getLevyExclInfo)
public ModelAndView getLevyExclInfo(String saveCallbackFuncName, String savedCallbackFuncName, LevyExclQuery req) {
return super.getLevyExclInfo(saveCallbackFuncName, savedCallbackFuncName, req);
@RequestMapping(name="부과제외 대장 수정", value=METHOD_URL.updateLevyExclusion)
public ModelAndView updateLevyExclusion(LevyExcl levyExcl) {
return super.updateLevyExclusion(levyExcl);
}
@Override
@RequestMapping(name="주정차과태료업무 부과제외 대장 등록", value=METHOD_URL.createLevyExcl)
public ModelAndView createLevyExcl(LevyExcl levyExcl) {
return super.createLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 목록 삭제", value=METHOD_URL.removeLevyExclusionList)
public ModelAndView removeLevyExclusionList(LevyExclQuery req) {
return super.removeLevyExclusionList(req);
}
@Override
@RequestMapping(name="주정차과태료업무 부과제외 대장 수정", value=METHOD_URL.updateLevyExcl)
public ModelAndView updateLevyExcl(LevyExcl levyExcl) {
return super.updateLevyExcl(levyExcl);
@RequestMapping(name="부과제외 대장 삭제", value=METHOD_URL.removeLevyExclusion)
public ModelAndView removeLevyExclusion(LevyExcl levyExcl) {
return super.removeLevyExclusion(levyExcl);
}
}
@ -394,75 +398,75 @@ public class PvsController {
class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 목록 조회", value=METHOD_URL.getOpnnSbmsnList)
public ModelAndView getOpnnSbmsnList(LevyExclQuery req) {
return super.getOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 목록 조회", value=METHOD_URL.getOpinionSubmissionList)
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
return super.getOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 삭제", value=METHOD_URL.removeOpnnSbmsn)
public ModelAndView removeOpnnSbmsn(OpnnSbmsn opnnSbmsn) {
return super.removeOpnnSbmsn(opnnSbmsn);
@RequestMapping(name="의견제출 정보 조회", value=METHOD_URL.getOpinionSubmissionInfo)
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
return super.getOpinionSubmissionInfo(req);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 목록 삭제", value=METHOD_URL.removeOpnnSbmsnList)
public ModelAndView removeOpnnSbmsnList(LevyExclQuery req) {
return super.removeOpnnSbmsnList(req);
@RequestMapping(name="의견제출 대장 등록", value=METHOD_URL.createOpinionSubmission)
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 정보 조회", value=METHOD_URL.getOpnnSbmsnInfo)
public ModelAndView getOpnnSbmsnInfo(LevyExclQuery req) {
return super.getOpnnSbmsnInfo(req);
@RequestMapping(name="의견제출 대장 수정", value=METHOD_URL.updateOpinionSubmission)
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpinionSubmission(opnnSbmsn, uploadFiles);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 등록", value=METHOD_URL.createOpnnSbmsn)
public ModelAndView createOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.createOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 조회", value=METHOD_URL.getOpinionSubmissionAnswerInfo)
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
return super.getOpinionSubmissionAnswerInfo(req);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 수정", value=METHOD_URL.updateOpnnSbmsn)
public ModelAndView updateOpnnSbmsn(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
return super.updateOpnnSbmsn(opnnSbmsn, uploadFiles);
@RequestMapping(name="의견제출 대장 심의 수정", value=METHOD_URL.updateOpinionSubmissionAnswer)
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpinionSubmissionAnswer(opnnSbmsn);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 심의 조회", value=METHOD_URL.getOpnnSbmsnAnswerInfo)
public ModelAndView getOpnnSbmsnAnswerInfo(LevyExclQuery req) {
return super.getOpnnSbmsnAnswerInfo(req);
@RequestMapping(name="의견제출 대장 목록 삭제", value=METHOD_URL.removeOpinionSubmissionList)
public ModelAndView removeOpinionSubmissionList(LevyExclQuery req) {
return super.removeOpinionSubmissionList(req);
}
@Override
@RequestMapping(name="주정차과태료업무 의견제출 대장 심의 수정", value=METHOD_URL.updateOpnnSbmsnAnswer)
public ModelAndView updateOpnnSbmsnAnswer(OpnnSbmsn opnnSbmsn) {
return super.updateOpnnSbmsnAnswer(opnnSbmsn);
@RequestMapping(name="의견제출 대장 삭제", value=METHOD_URL.removeOpinionSubmission)
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
return super.removeOpinionSubmission(opnnSbmsn);
}
}
@Controller
@RequestMapping(name="주정차과태료업무 부과제외_재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
@RequestMapping(name="주정차과태료업무 부과제외_단속재등록 관리", value=CLASS_URL+Excl03Controller.CLASS_URL)
class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {
@Override
@RequestMapping(name="주정차과태료업무 단속재등록 대장 목록 조회", value=METHOD_URL.getCrdnReRegList)
public ModelAndView getCrdnReRegList(LevyExclQuery req) {
return super.getCrdnReRegList(req);
@RequestMapping(name="단속재등록 대장 목록 조회", value=METHOD_URL.getCrackdownReRegistrationList)
public ModelAndView getCrackdownReRegistrationList(LevyExclQuery req) {
return super.getCrackdownReRegistrationList(req);
}
@Override
@RequestMapping(name="주정차과태료업무 단속재등록 대장 등록", value=METHOD_URL.createCrdnReReg)
public ModelAndView createCrdnReReg(CrdnReReg crdnReReg) {
return super.createCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 등록", value=METHOD_URL.createCrackdownReRegistration)
public ModelAndView createCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.createCrackdownReRegistration(crdnReReg);
}
@Override
@RequestMapping(name="주정차과태료업무 단속재등록 대장 삭제", value=METHOD_URL.removeCrdnReReg)
public ModelAndView removeCrdnReReg(CrdnReReg crdnReReg) {
return super.removeCrdnReReg(crdnReReg);
@RequestMapping(name="단속재등록 대장 삭제", value=METHOD_URL.removeCrackdownReRegistration)
public ModelAndView removeCrackdownReRegistration(CrdnReReg crdnReReg) {
return super.removeCrackdownReRegistration(crdnReReg);
}
}

@ -0,0 +1,534 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- inner page html -->
<div class="content-wrapper">
<!-- Content -->
<div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">민원상담 관리</c:set>
<!-- Page Body -->
<div class="card">
<div class="wrapper-list">
<div>
<!-- 상단 버튼 -->
<div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화" onclick="fnReset${pageName}();">
초기화
</button>
<span class="container-window-btn-right">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
검색
</button>
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
엑셀
</button>
</span>
</div>
<!-- / 상단 버튼 -->
<!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch">
<!-- hidden -->
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<!-- 메인 조건 -->
<div class="container-search">
<div class="row g-1">
<!-- 업무구분 -->
<div class="col-12">
<label class="form-label fw-bold form-search-title text-end">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<label>
<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
value="${item.code}" onchange="fnResetAndChangeBiz${pageName}(this.value);">
${item.value}
</label>
</c:forEach>
</span>
</div>
<!-- 상담일자 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">상담일자</label>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDscsnYmdFrom--${pageName}" name="schDscsnYmdFrom"
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schDscsnYmdTo--${pageName}" name="schDscsnYmdTo"
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<!-- -->
<div class="col-6">
</div>
<!-- 차량번호 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">차량번호</label>
<input type="text" class="form-control w-px-160" id="schVhrno--${pageName}" name="schVhrno" autocomplete="off" />
</div>
<!-- 납부자번호 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">납부자번호</label>
<input type="text" class="form-control w-px-160" id="schRtpyrNo--${pageName}" name="schRtpyrNo"autocomplete="off" />
</div>
<!-- 민원인명 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">민원인명</label>
<input type="text" class="form-control w-px-160" id="schCvlprNm--${pageName}" name="schCvlprNm"autocomplete="off" />
</div>
<!-- 동적검색 -->
<div class="col-6">
<input type="hidden" id="by--${pageName}" name="by" />
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
<input type="hidden" id="subOption--${pageName}" name="subOption" />
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" autocomplete="off" />
<!-- 상세 검색조건 버튼 -->
<span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
<i class="bx bx-chevron-down"></i>
상세검색
</button>
</span>
</div>
</div>
</div> <!-- / 메인 조건 -->
<!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row g-1">
<!-- 등록일자, 수정일자 -->
<div class="col-6">
<select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<!-- 등록자명, 수정자명 -->
<div class="col-6">
<select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<option value="rgtr">등록자</option>
<option value="mdfr">수정자</option>
</select>
<input type="text" class="form-control w-px-160" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" autocomplete="off" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnUser--${pageName}" title="사용자 검색" onclick="fnUser${pageName}();">
검색
</button>
</div>
</div>
</div>
<!-- / 상세 조건 -->
</form>
<!-- / 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 -->
<div>
<span class="container-page-btn">
<!-- 건수, 페이지 표시 -->
<div class="d-flex flex-row justify-content-between">
<label class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></label>
<ul class="pagination pagination-primary" id="paging--${pageName}">
</ul>
</div>
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="수정" onclick="fnUpdate${pageName}();">
수정
</button>
<button type="button" class="btn btn-primary w-px-120" id="btnRemove--${pageName}" title="삭제" onclick="fnRemove${pageName}();">
삭제
</button>
</span>
</span>
</div>
<!-- / 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
<div class="table-responsive" id="table-responsive--${pageName}" style="overflow-x:scroll; height:480px; overflow-y:scroll;" >
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
<thead class="sticky-thead">
<tr id="theadTr--${pageName}"
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
<th class="cmn" style="width: 72px;">NO.</th>
<th class="cmn" style="width: 56px;">
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CVLCPT_RCPT_SE_CD', this.innerText, 'codeValue', 'FIM065');">민원접수구분</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DSCSN_YMD', this.innerText, 'ymd', '');">상담일자</th>
<th class="cmn" style="width: 80px;" onclick="searchFromGridTitle('WEEK_NM', this.innerText, 'match', 'part');">요일</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CVLPR_NM', this.innerText, 'match', 'part');">성명</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CVLPR_CTTPC', this.innerText, 'match', 'part');">연락처</th>
<th class="cmn" style="width: 400px;" onclick="searchFromGridTitle('DSCSN_CN', this.innerText, 'match', 'part');">상담내용</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RTPYR_NO', this.innerText, 'match', 'part');">납부자번호</th>
<th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 180px;">수정일시</th>
<th class="cmn" style="width: 140px;">수정사용자</th>
<th class="cmn dummy-th"></th>
</tr>
</thead>
<tbody id="tbody--${pageName}">
</tbody>
<template id="${infoPrefix}Row--${pageName}">
<tr data-key="{CVLCPT_DSCSN_ID}">
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
<td class="cmn text-center">
<input type="checkbox" class="form-check-input" value="{CVLCPT_DSCSN_ID}" onchange="${pageName}Control.select('{CVLCPT_DSCSN_ID}', this.checked);">
</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_SE_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSCSN_YMD}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{WEEK_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLPR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLPR_CTTPC}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DSCSN_CN}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NO}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
<td class="cmn dummy-td"></td>
</tr>
</template>
<template id="${infoPrefix}NotFound--${pageName}">
<tr class="odd">
<td valign="top" colspan="15" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>
</div>
</div>
</div>
<!-- / DataTables(그리드) -->
</div>
</div> <!-- <div class="wrapper-list"> -->
</div> <!-- <div class="card"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<jsp:include page="/WEB-INF/jsp/include/bottom.jsp" />
<div class="content-backdrop fade"></div>
</div>
<!-- / inner page html <div class="content-wrapper"> -->
<script>
/**************************************************************************
* Global Variable
**************************************************************************/
// URL
var ${pageName}PrefixUrl = "/sprt/sprt04";
// FormFields
var ${pageName}Fields = new FormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl
**************************************************************************/
var ${pageName}Control = new DatasetControl({
prefix : "cvlcptDscsn"
, prefixName : "민원상담내용"
, infoSize : "lg"
, keymapper : info => info ? info.CVLCPT_DSCSN_ID : ""
, dataGetter : obj => obj.cvlcptDscsnList
, appendData : true
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
, formats : {
DSCSN_YMD : dateFormat
, REG_DT : datetimeFormat
, MDFCN_DT : datetimeFormat
}
});
/**************************************************************************
* DatasetControl 이벤트
**************************************************************************/
// Dataset 변경 이벤트
${pageName}Control.onDatasetChange = obj => {
renderList${pageName}();
$("#paging--${pageName}").setPagingInfo({
list : ${pageName}Control.dataset
, prefix : "paging--${pageName}"
, start : obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total
, fetchSize : obj.${infoPrefix}Fetch
, func : "${pageName}Control.load({index})"
});
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
};
// 현재 선택 자료 변경 이벤트
${pageName}Control.onCurrentChange = item => {
if (!item) return;
let key = item.data.CVLCPT_DSCSN_ID;
$("#tbody--${pageName}").setCurrentRow(key);
};
// 선택(체크) 변경 이벤트
${pageName}Control.onSelectionChange = selected => {
let ${infoPrefix}List = ${pageName}Control.dataset;
let keys = selected.map(e => ${infoPrefix}List.getKey(e));
$("#tbody--${pageName} input[type='checkbox']").each(function() {
let checkbox = $(this);
checkbox.prop("checked", keys.includes(checkbox.val()));
});
$("#btnRemove--${pageName}").prop("disabled", keys.length < 1);
};
// 민원상담 dialog
${pageName}Control.getInfo = (cvlcptDscsnId) => {
if (typeof cvlcptDscsnId == "undefined" || cvlcptDscsnId == null || cvlcptDscsnId == "") {
return;
}
let params = {
callPurpose : "update"
, sggCd : ${pageName}Control.dataset.getValue("SGG_CD")
, taskSeCd : ${pageName}Control.dataset.getValue("TASK_SE_CD")
, cvlcptDscsnId : cvlcptDscsnId
};
ajax.get({
url : wctx.url(params.taskSeCd + ${pageName}PrefixUrl + "/020/info.do")
, data : params || {}
, success : resp => {
dialog.open({
id : ${pageName}Control.prefixed("Dialog")
, title : ${pageName}Control.prefixName + " 수정"
, content : resp
, size : "lg"
, init : () => { }
, onClose : () => { ${pageName}Control.load(${pageName}Control.query.pageNum); } // callback 자료 재조회
});
}
});
}
// 삭제 callback
${pageName}Control.onRemove = (selected, resp) => {
let btnTitle = $("#btnRemove--${pageName}").attr("title");
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
dialog.alert(showMessage);
if (resp.saved) {
${pageName}Control._load();
}
}
// 삭제
${pageName}Control.remove = (params) => {
let selected = ${pageName}Control.dataset.getKeys("selected");
if (selected.length < 1) return;
if (!params) {
params = {};
params[${pageName}Control.prefixed("IDs")] = selected.join(",");
}
ajax.post({
url : ${pageName}Control.urls.remove
, data : params
, success : resp => ${pageName}Control.onRemove(selected, resp)
});
}
/**************************************************************************
*
**************************************************************************/
// DataTables에 click, dbclick 이벤트
renderList${pageName} = () => {
let ${infoPrefix}List = ${pageName}Control.dataset;
let empty = ${infoPrefix}List.empty;
let trs = empty ?
[document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%>
${infoPrefix}List.inStrings(
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
(str, dataItem) => str
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("CVLCPT_DSCSN_ID") + "');")
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CVLCPT_DSCSN_ID") + "');")
);
$("#tbody--${pageName}").html(trs.join());
$("th input[type='checkbox']").prop("checked", false);
//보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
}
/**************************************************************************
* 초기 셋팅
**************************************************************************/
// 이벤트
setEvent${pageName} = () => {
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
$("#frmSearch--${pageName}").find(".form-date").each(function() {
$(this).on("input", function() {
let value = this.value.replaceAll("-", "");
if (value.length > 7) {
this.value = value.substring(0, 4) + "-" + value.substring(4, 6) + "-" + value.substring(6);
} else if(value.length > 5) {
this.value = value.substring(0, 4) + "-" + value.substring(4);
}
});
});
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
if (el.scrollTop() == 0) {
return;
}
if (!${pageName}Control.tableRenderComplete) {
return;
}
let itemsCnt = ${pageName}Control.dataset._items.length;
let totCnt = ${pageName}Control.dataset.getValue("TOT_CNT");
if (itemsCnt >= totCnt) {
return;
}
if ((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()) {
${pageName}Control.tableRenderComplete = false; // dataTables 에 자료 추가 완료
${pageName}Control.load(${pageName}Control.query.pageNum + 1);
}
});
}
// 화면 초기값 셋팅
setForm${pageName} = (taskSeCd) => {
// 업무 구분 코드
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true);
// 최고 관리자 경우 업무구분을 선택할 수 있도록 하자.
$("#frmSearch--${pageName} input[name='taskSeCd']").each(function(i) {
$(this).prop("disabled", "true");
});
// 달력 초기화
initDatepicker("frmSearch--${pageName}");
$("#schDscsnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-1).date);
$("#schDscsnYmdTo--${pageName}").datepicker("setDate", new Date());
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
}
// URL 설정
setURL${pageName} = (taskSeCd) => {
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/list.do"); // 조회
${pageName}Control.urls.remove = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/removes.do"); // 삭제
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
}
/**************************************************************************
* 버튼 clickEvent
**************************************************************************/
// 초기화 버튼 이벤트
fnReset${pageName} = () => {
fnResetAndChangeBiz${pageName}();
}
// 검색 버튼 이벤트
fnSearchList${pageName} = () => {
// 검색조건
${pageName}Control.query = ${pageName}Fields.get();
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.load();
}
// 엑셀 버튼 이벤트
fnExcel${pageName} = () => {
}
// 업무 구분 변경
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
// 화면 초기화
$("#frmSearch--${pageName}")[0].reset();
// dataset 초기화
${pageName}Control.dataset.clear();
// 업무 구분 코드
if (typeof taskSeCd == "undefined" || taskSeCd == null || taskSeCd == "") {
taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
}
// 화면 초기값 설정
setForm${pageName}(taskSeCd);
// URL 설정
setURL${pageName}(taskSeCd);
}
// 사용자 조회 버튼 이벤트
fnUser${pageName} = () => {
}
// 수정 버튼 이벤트
fnUpdate${pageName} = () => {
${pageName}Control.getInfo(${pageName}Control.dataset.getValue("CVLCPT_DSCSN_ID"));
}
// 삭제 버튼 이벤트
fnRemove${pageName} = () => {
dialog.alert({
content : "선택한 부과제외 정보를 삭제하시겠습니까?"
, onOK : () => {
${pageName}Control.remove();
}
});
}
/**************************************************************************
* script 진입
**************************************************************************/
$(document).ready(function() {
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
// 이벤트 설정
setEvent${pageName}();
// 시군구 코드 설정
$("#sggCd--${pageName}").val("${sggCd}");
// 업무 구분 설정
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
// 업무 구분 및 화면 초기 설정
fnResetAndChangeBiz${pageName}(defaultBizValue);
});
</script>

@ -0,0 +1,172 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- inner page html -->
<div class="content-wrapper">
<!-- Content -->
<div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">민원 상담 내용 정보</c:set>
<!-- Page Body -->
<div class="card">
<!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden -->
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" id="cvlcptDscsnId--${pageName}" name="cvlcptDscsnId" data-map="CVLCPT_DSCSN_ID" />
<input type="hidden" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" />
<input type="hidden" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" />
<div class="row g-1">
<!-- 민원 접수 구분 코드 -->
<div class="col-md-12">
<label for="cvlcptRcptSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수구분</label>
<select class="form-select" id="cvlcptRcptSeCd--${pageName}" name="cvlcptRcptSeCd" data-map="CVLCPT_RCPT_SE_CD" required>
<option value="">선택하세요</option>
<c:forEach items="${FIM065List}" var="item">
<option value="${item.code}">${item.value}</option>
</c:forEach>
</select>
</div>
<!-- 민원인명 -->
<div class="col-md-6">
<label for="cvlprNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">민원인명</label>
<input type="text" class="form-control w-px-160" id="cvlprNm--${pageName}" name="cvlprNm" data-map="CVLPR_NM" autocomplete="off" />
</div>
<!-- 민원인 연락처 -->
<div class="col-md-6">
<label for="cvlprCttpc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연락처</label>
<input type="text" class="form-control w-px-160" id="cvlprCttpc--${pageName}" name="cvlprCttpc" data-map="CVLPR_CTTPC" autocomplete="off" />
</div>
<!-- 상담 내용 -->
<div class="col-md-12">
<label for="dscsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상담 내용</label>
<textarea type="text" class="form-control w-80" id="dscsnCn--${pageName}" name="dscsnCn" data-map="DSCSN_CN" rows="5" data-maxlengthb="4000"></textarea>
</div>
</div>
</form> <!-- /입력 영역 -->
</div> <!-- <div class="card"> -->
<!-- 업무 버튼 표시 -->
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary w-px-80" id="btnSave--${pageName}" title="저장" onclick="fnSave${pageName}()">저장</button>
</span>
</span>
</div>
<!-- / 업무 버튼 표시 -->
</div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> -->
</div> <!-- / inner page html <div class="content-wrapper"> -->
<script>
/**************************************************************************
* Global Variable
**************************************************************************/
// URL
var ${pageName}PrefixUrl = "/sprt/sprt04";
// FormFields
var ${pageName}Fields = new FormFields("#frmEdit--${pageName}");
/**************************************************************************
* DatasetControl
**************************************************************************/
var ${pageName}Control = new DatasetControl({
prefix : "cvlcptDscsn"
, prefixName : "민원상담"
, keymapper : info => info ? info.CVLCPT_DSCSN_ID : ""
, dataGetter : obj => obj.cvlcptDscsn
});
${pageName}Control.onCurrentChange = item => {
// Dataset 셋팅
${pageName}Fields.set(item);
// 민원상담을 등록시 접수구분을 선택할 수 있게 한다.
if (item.data.CVLCPT_DSCSN_ID == null || item.data.CVLCPT_DSCSN_ID == "") {
$("#cvlcptRcptSeCd--${pageName}").prop("disabled", false);
} else {
$("#cvlcptRcptSeCd--${pageName}").prop("disabled", true);
}
// 업무구분에 따른 url 변경
${pageName}Control.urls.create = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/020/create.do");
${pageName}Control.urls.update = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/020/update.do");
}
/**************************************************************************
*
**************************************************************************/
// 저장 callback
${pageName}Control.onSave = (resp) => {
let dialogTitle = $("#" + ${pageName}Control.prefix + "Dialog").find("h5.modal-title").html();
let showMessage = resp.retMessage.replace(/[S]|[F]/g, dialogTitle);
dialog.alert(showMessage);
if (resp.saved) {
dialog.close(${pageName}Control.prefix + "Dialog");
}
}
// 저장
${pageName}Control.save = (info) => {
if (!info) return;
let create = isEmpty(info.cvlcptDscsnId);
ajax.post({
url : !create ? ${pageName}Control.urls.update : ${pageName}Control.urls.create
, data : info
, success : resp => ${pageName}Control.onSave(resp)
});
}
/**************************************************************************
* 초기 셋팅
**************************************************************************/
// 검색조건 초기값 셋팅
initForm${pageName} = () => {
}
// 이벤트 설정
setEvent${pageName} = () => {
}
/**************************************************************************
* function
**************************************************************************/
// 저장
fnSave${pageName} = () => {
// validate 확인
if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
dialog.alert({
content : "현재 " + ${pageName}Control.prefixName + " 정보를 저장하시겠습니까?"
, onOK : () => {
${pageName}Control.save(${pageName}Fields.get());
}
});
}
/**************************************************************************
* script 진입
**************************************************************************/
$(document).ready(function() {
// 이벤트 설정
setEvent${pageName}();
// 화면 초기 설정
initForm${pageName}();
// Data 셋팅
${pageName}Control.setData([${cvlcptDscsn}]);
});
</script>

@ -0,0 +1,540 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- inner page html -->
<div class="content-wrapper">
<!-- Content -->
<div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">사전 감경부과 대상</c:set>
<!-- Page Body -->
<div class="card">
<div class="wrapper-list">
<div>
<!-- 상단 버튼 -->
<div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화" onclick="fnReset${pageName}();">
초기화
</button>
<span class="container-window-btn-right">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
검색
</button>
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
엑셀
</button>
</span>
</div>
<!-- / 상단 버튼 -->
<!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch">
<!-- hidden -->
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<!-- 메인 조건 -->
<div class="container-search">
<div class="row g-1">
<!-- 업무구분 -->
<div class="col-12">
<label class="form-label fw-bold form-search-title text-end">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<label>
<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
value="${item.code}" onchange="fnResetAndChangeBiz${pageName}(this.value);">
${item.value}
</label>
</c:forEach>
</span>
</div>
<!-- 단속일자 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">단속일자</label>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
data-fmt-type="day" title="종료 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<!-- 차량번호 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">차량번호</label>
<input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" />
</div>
<!-- 납부자명 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title text-end">납부자명</label>
<input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" />
</div>
<!-- 동적검색 -->
<div class="col-6">
<input type="hidden" id="by--${pageName}" name="by" />
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
<input type="hidden" id="subOption--${pageName}" name="subOption" />
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" />
<!-- 상세 검색조건 버튼 -->
<span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
<i class="bx bx-chevron-down"></i>
상세검색
</button>
</span>
</div>
</div>
</div> <!-- / 메인 조건 -->
<!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row g-1">
<!-- 단속 등록일자, 단속 수정일자 -->
<div class="col-6">
<select class="form-select text-center" id="schDetailCrdnRegDtOpt--${pageName}" name="schDetailCrdnRegDtOpt">
<option value="regDt">단속 등록일자</option>
<option value="mdfcnDt">단속 수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDetailCrdnRegDtFrom--${pageName}" name="schDetailCrdnRegDtFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schDetailCrdnRegDtTo--${pageName}" name="schDetailCrdnRegDtTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<!-- 단속 등록자명, 단속 수정자명 -->
<div class="col-6">
<select class="form-select text-center" id="schDetailCrdnRgtrOpt--${pageName}" name="schDetailCrdnRgtrOpt">
<option value="rgtr">단속 등록자</option>
<option value="mdfr">단속 수정자</option>
</select>
<input type="text" class="form-control" id="schDetailCrdnRgtrNm--${pageName}" name="schDetailCrdnRgtrNm" />
</div>
</div>
</div>
<!-- / 상세 조건 -->
</form>
<!-- / 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 -->
<div>
<span class="container-page-btn">
<!-- 건수, 페이지 표시 -->
<div class="d-flex flex-row justify-content-between">
<label class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></label>
<ul class="pagination pagination-primary" id="paging--${pageName}">
</ul>
</div>
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-search w-px-120" id="btnCreateRductLevy--${pageName}" title="검색" onclick="fnCreateRductLevy${pageName}();">
감경부과 등록
</button>
</span>
</span>
</div>
<!-- / 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
<div class="table-responsive" id="table-responsive--${pageName}" style="overflow-x:scroll; height:480px; overflow-y:scroll;" >
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="dataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
<thead class="sticky-thead">
<tr id="theadTr--${pageName}"
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
<th class="cmn" style="width: 72px;">NO.</th>
<th class="cmn" style="width: 56px;">
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
</th>
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('VLTN_ARTCL', this.innerText, 'match', 'part');">위반항목</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_CRDN_AMT', this.innerText, 'match', 'part');">단속금액</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('ADVNTCE_AMT', this.innerText, 'match', 'part');">사전통지금액</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CVLCPT_APLY_NO', this.innerText, 'match', 'part');">민원신청번호</th>
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CVLCPT_RCPT_NO', this.innerText, 'match', 'part');">민원접수번호</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('CVLCPT_RCPT_YMD', this.innerText, 'ymd', '');">민원접수일자</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('CVLCPT_TRSM_CD', this.innerText, 'codeValue', 'FIM018');">민원전송결과</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ZIP', this.innerText, 'match', 'part');">우편번호</th>
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('ADDR', this.innerText, 'match', 'part');">주소</th>
<th class="cmn" style="width: 320px;" onclick="searchFromGridTitle('DTL_ADDR', this.innerText, 'match', 'part');">상세주소</th>
<th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 180px;">수정일시</th>
<th class="cmn" style="width: 140px;">수정사용자</th>
<th class="cmn dummy-th"></th>
</tr>
</thead>
<tbody id="tbody--${pageName}">
</tbody>
<template id="${infoPrefix}Row--${pageName}">
<tr data-key="{CRDN_ID}">
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
<td class="cmn text-center">
<input type="checkbox" class="form-check-input" value="{CRDN_ID}" onchange="${pageName}Control.select('{CRDN_ID}', this.checked);">
</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VLTN_ARTCL}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_CRDN_AMT}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ADVNTCE_AMT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_APLY_NO}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_NO}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_YMD}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_TRSM_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ADDR}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_ADDR}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
<td class="cmn dummy-td"></td>
</tr>
</template>
<template id="${infoPrefix}NotFound--${pageName}">
<tr class="odd">
<td valign="top" colspan="25" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>
</div>
</div>
</div>
<!-- / DataTables(그리드) -->
</div>
</div> <!-- <div class="wrapper-list"> -->
</div> <!-- <div class="card"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<jsp:include page="/WEB-INF/jsp/include/bottom.jsp" />
<div class="content-backdrop fade"></div>
</div>
<!-- / inner page html <div class="content-wrapper"> -->
<script>
/**************************************************************************
* Global Variable
**************************************************************************/
// URL
var ${pageName}PrefixUrl = "/levy/levy01";
// FormFields
var ${pageName}Fields = new FormFields("#frmSearch--${pageName}");
/**************************************************************************
* DatasetControl
**************************************************************************/
var ${pageName}Control = new DatasetControl({
prefix : "rductLevyTrgt"
, prefixName : "감경부과대상"
, infoSize : "lg"
, keymapper : info => info ? info.CRDN_ID : ""
, dataGetter : obj => obj.rductLevyTrgtList
, appendData : true
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
, formats : {
CRDN_YMD_TM : datetimeFormat
, CVLCPT_RCPT_YMD : dateFormat
, FFNLG_CRDN_AMT : numberFormat
, FFNLG_AMT : numberFormat
, ADVNTCE_AMT : numberFormat
, REG_DT : datetimeFormat
, MDFCN_DT : datetimeFormat
}
});
/**************************************************************************
* DatasetControl 이벤트
**************************************************************************/
// Dataset 변경 이벤트
${pageName}Control.onDatasetChange = obj => {
renderList${pageName}();
$("#paging--${pageName}").setPagingInfo({
list : ${pageName}Control.dataset
, prefix : "paging--${pageName}"
, start : obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total
, fetchSize : obj.${infoPrefix}Fetch
, func : "${pageName}Control.load({index})"
});
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
};
// 현재 선택 자료 변경 이벤트
${pageName}Control.onCurrentChange = item => {
if (!item) return;
let key = item.data.CRDN_ID;
$("#tbody--${pageName}").setCurrentRow(key);
};
// 선택(체크) 변경 이벤트
${pageName}Control.onSelectionChange = selected => {
let ${infoPrefix}List = ${pageName}Control.dataset;
let keys = selected.map(e => ${infoPrefix}List.getKey(e));
$("#tbody--${pageName} input[type='checkbox']").each(function() {
let checkbox = $(this);
checkbox.prop("checked", keys.includes(checkbox.val()));
});
};
// 개별총정보 dialog
${pageName}Control.getInfo = (crdnId) => {
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") {
return;
}
let params = {
callControlName : "${pageName}Control"
, crdnId : crdnId
}
ajax.get({
url : ${pageName}Control.urls.getInfo
, data : params || {}
, success : resp => {
dialog.open({
id : "totalInfoMainDialog"
, title : "개별총정보"
, content : resp
, size : "xxl"
});
}
});
}
/**************************************************************************
*
**************************************************************************/
// DataTables에 click, dbclick 이벤트
renderList${pageName} = () => {
let ${infoPrefix}List = ${pageName}Control.dataset;
let empty = ${infoPrefix}List.empty;
let trs = empty ?
[document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%>
${infoPrefix}List.inStrings(
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
(str, dataItem) => str
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("CRDN_ID") + "');")
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
);
$("#tbody--${pageName}").html(trs.join());
$("th input[type='checkbox']").prop("checked", false);
//보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
}
createRductLevy${pageName} = (obj) => {
let btnTitle = $("#btnCreateSndngLink--${pageName}").attr("title");
// 선택된 자료의 발송 상세 ID 추가
let selected = ${pageName}Control.dataset.getKeys("selected");
if (selected.length < 1) return;
let info = {
crdnIDs = selected.join(","); // 단속 IDs
, sggCd : $("#sggCd--${pageName}").val() // 시군구 코드
, taskSeCd : $("#taskSeCd--${pageName}").val() // 업무 구분 코드
, sndngYmd : obj.sndngYmd // 부과 일자
, dudtYmd : obj.dudtYmd // 납기 일자
};
// ajax.post({
// url : wctx.url("/" + info.taskSeCd + ${pageName}PrefixUrl + "/080/createSndngLink.do")
// , data : info || {}
// , success : resp => {
// let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
// dialog.alert(showMessage);
// }
// });
}
/**************************************************************************
* 초기 설정
**************************************************************************/
// 이벤트
setEvent${pageName} = () => {
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
$("#frmSearch--${pageName}").find(".form-date").each(function() {
$(this).on("input", function() {
let value = this.value.replaceAll("-", "");
if (value.length > 7) {
this.value = value.substring(0, 4) + "-" + value.substring(4, 6) + "-" + value.substring(6);
} else if(value.length > 5) {
this.value = value.substring(0, 4) + "-" + value.substring(4);
}
});
});
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
if (el.scrollTop() == 0) {
return;
}
if (!${pageName}Control.tableRenderComplete) {
return;
}
let itemsCnt = ${pageName}Control.dataset._items.length;
let totCnt = ${pageName}Control.dataset.getValue("TOT_CNT"); // let totCnt = ${pageName}Control.dataset.getCurrent("item").data.TOT_CNT;
if (itemsCnt >= totCnt) {
return;
}
if ((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()) {
${pageName}Control.tableRenderComplete = false; // dataTables 에 자료 추가 완료
${pageName}Control.load(${pageName}Control.query.pageNum + 1);
}
});
}
// 화면 초기값 설정
setForm${pageName} = (taskSeCd) => {
// 업무 구분 코드
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true);
// 최고 관리자 경우 업무구분을 선택할 수 있도록 하자.
$("#frmSearch--${pageName} input[name='taskSeCd']").each(function(i) {
$(this).prop("disabled", "true");
});
// 달력 초기화
initDatepicker("frmSearch--${pageName}");
$("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-90).date);
$("#schCrdnYmdTo--${pageName}").datepicker("setDate", new Date());
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
}
// URL 설정
setURL${pageName} = (taskSeCd) => {
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/list.do"); // 조회
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
}
/**************************************************************************
* 버튼 clickEvent
**************************************************************************/
// 초기화 버튼 이벤트
fnReset${pageName} = () => {
fnResetAndChangeBiz${pageName}();
}
// 검색 버튼 이벤트
fnSearchList${pageName} = () => {
// 검색조건
${pageName}Control.query = ${pageName}Fields.get();
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부
${pageName}Control.load();
}
// 엑셀 버튼 이벤트
fnExcel${pageName} = () => {
}
// 업무 구분 변경
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
// 화면 초기화
$("#frmSearch--${pageName}")[0].reset();
// dataset 초기화
${pageName}Control.dataset.clear();
// 업무 구분 코드
if (typeof taskSeCd == "undefined" || taskSeCd == null || taskSeCd == "") {
taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
}
// 화면 초기값 설정
setForm${pageName}(taskSeCd);
// URL 설정
setURL${pageName}(taskSeCd);
}
// 감경부과등록 버튼 이벤트
fnCreateRductLevy${pageName} = () => {
// validate 확인
if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
let callbackFuncName = "createRductLevy${pageName}";
let sndngYmd = DateUtil.getDateDay().date;
let dudtYmd = DateUtil.getDateDay(20).date;
let popupWidth = 480;
let popupHeight = 480;
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY= (window.screen.height / 2) - (popupHeight / 2);
window.open(
wctx.url("/resources/html/inputDateDialog.html"
+ "?callbackFuncName=" + callbackFuncName
+ "&CALL_PURPOSE=" + "levy"
+ "&SNDNG_YMD=" + sndngYmd
+ "&DUDT_YMD=" + dudtYmd
)
, "inputEPostDateDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
}
/**************************************************************************
* script 진입
**************************************************************************/
$(document).ready(function() {
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
// 이벤트 설정
setEvent${pageName}();
// 시군구 코드 설정
$("#sggCd--${pageName}").val("${sggCd}");
// 업무 구분 설정
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
// 업무 구분 및 화면 초기 설정
fnResetAndChangeBiz${pageName}(defaultBizValue);
});
</script>
Loading…
Cancel
Save