no message

main
이범준 1 year ago
parent 3470654362
commit 1426b1f4cd

@ -327,6 +327,11 @@ public class Crdn extends AbstractEntity {
*/ */
private String dtlAddr; private String dtlAddr;
/**
*
*/
private String levyExclSeCd;
/** /**
* *
*/ */

@ -23,7 +23,7 @@ public interface CrdnCvlcptMapper extends AbstractMapper {
int insertCvlcpt(CrdnCvlcpt cvlcpt); int insertCvlcpt(CrdnCvlcpt cvlcpt);
/** .<br /> /** .<br />
* {@link cokr.xit.fims.crdn.service.bean.CrdnService#getCrackdownList(CrdnQuery)} * {@link cokr.xit.fims.cvlc.service.bean.CrdnCvlcptService#getCivilComplaintList(CrdnQuery)}
* @param query * @param query
* @return * @return
*/ */
@ -72,14 +72,14 @@ public interface CrdnCvlcptMapper extends AbstractMapper {
int updateCrdnAddition(Map<String, Object> params); int updateCrdnAddition(Map<String, Object> params);
/** .<br /> /** .<br />
* {@link cokr.xit.fims.crdn.service.bean.CrdnService#getCrackdownList(CrdnQuery)} * {@link cokr.xit.fims.cvlc.service.bean.CrdnCvlcptService#getCivilComplaintList(CrdnQuery)}
* @param query * @param query
* @return * @return
*/ */
List<DataObject> selectCivilComplaintAnswerTargetDataList(CrdnQuery query); List<DataObject> selectCivilComplaintAnswerTargetDataList(CrdnQuery query);
/** .<br /> /** .<br />
* {@link cokr.xit.fims.crdn.service.bean.CrdnService#getCrackdownList(CrdnQuery)} * {@link cokr.xit.fims.cvlc.service.bean.CrdnCvlcptService#getCivilComplaintList(CrdnQuery)}
* @param query * @param query
* @return * @return
*/ */

@ -274,8 +274,17 @@ public class Cvlc01Controller extends ApplicationController {
Map<String, Object> nonQueryRequest = new HashMap<String, Object>(); Map<String, Object> nonQueryRequest = new HashMap<String, Object>();
nonQueryRequest.put("deleteFileKeyList", deleteFileKeyList); nonQueryRequest.put("deleteFileKeyList", deleteFileKeyList);
String acceptType = hReq.getParameter("acceptType"); String acceptYn = hReq.getParameter("acceptYn");
nonQueryRequest.put("acceptType", acceptType); if(ifEmpty(acceptYn, () -> "").equals("Y")) {
nonQueryRequest.put("acceptType", "accept");
} else {
if(crdn.getLevyExclSeCd().equals("2")) {
nonQueryRequest.put("acceptType", "someAccept");
} else if(crdn.getLevyExclSeCd().equals("1")) {
nonQueryRequest.put("acceptType", "nonAccept");
}
}
saved = crdnCvlcptService.updateCvlcptPrcsSe(nonQueryRequest, crdnCvlcpt, crdn, newFileInfoList); saved = crdnCvlcptService.updateCvlcptPrcsSe(nonQueryRequest, crdnCvlcpt, crdn, newFileInfoList);

@ -183,7 +183,6 @@ public class Excl01ServiceBean extends AbstractServiceBean implements Excl01Serv
updtCrdn.setCrdnId(excl01.getCrdnId()); // 단속 ID updtCrdn.setCrdnId(excl01.getCrdnId()); // 단속 ID
updtCrdn.setParkngPsbltyRsltCd("9"); // 주차 가능 결과 코드 updtCrdn.setParkngPsbltyRsltCd("9"); // 주차 가능 결과 코드
// 단속민원 민원처리결과내용 수정
retSuccess = excl01Bean.updateParkngPsbltyRsltCd(updtCrdn); retSuccess = excl01Bean.updateParkngPsbltyRsltCd(updtCrdn);
if (!retSuccess) { if (!retSuccess) {
// 예외를 발생시켜서 오류메세지를 보내고 DB Rollback // 예외를 발생시켜서 오류메세지를 보내고 DB Rollback

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cokr.xit.fims.crdn.dao.crdnInfoMapper"> <mapper namespace="cokr.xit.fims.crdn.dao.CrdnInfoMapper">
<resultMap id="crdnRow" type="cokr.xit.fims.crdn.Crdn"> <resultMap id="crdnRow" type="cokr.xit.fims.crdn.Crdn">
<result property="crdnId" column="CRDN_ID" /> <!-- 단속 ID --> <result property="crdnId" column="CRDN_ID" /> <!-- 단속 ID -->

@ -403,7 +403,7 @@ $(document).ready(function(){
} }
} }
formData.append("acceptType", "accept"); formData.append("acceptYn", "Y");
ajax.post({ ajax.post({
url:!create ? $P.crdnControl.urls.update : $P.crdnControl.urls.create, url:!create ? $P.crdnControl.urls.update : $P.crdnControl.urls.create,

Loading…
Cancel
Save