|
|
|
|
@ -101,7 +101,7 @@ public class CommWebBrowserController {
|
|
|
|
|
*
|
|
|
|
|
* 사전등록결제 대상이면 결제처리...
|
|
|
|
|
*/
|
|
|
|
|
String strReturn = "";
|
|
|
|
|
|
|
|
|
|
Map<String, Object> map = null;
|
|
|
|
|
List<Map<String, Object>> obj = null;
|
|
|
|
|
try {
|
|
|
|
|
@ -118,9 +118,11 @@ public class CommWebBrowserController {
|
|
|
|
|
mapOrg.put("workTimes", param.get("workTimes"));
|
|
|
|
|
mapOrg.put("seqno", param.get("seqno"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 차량번호기준 면제 체크
|
|
|
|
|
strReturn = searchExmptCarNo(param.get("carNo"), true);
|
|
|
|
|
if(strReturn.equals("03") == true) {
|
|
|
|
|
String exmptCheckReturn = this.searchExmptCarNo(param.get("carNo"), true);
|
|
|
|
|
|
|
|
|
|
if(exmptCheckReturn.equals("03") == true) {
|
|
|
|
|
map = new HashMap<String, Object>();
|
|
|
|
|
map.put("resultExmpCd", "01");
|
|
|
|
|
map.put("resultDecode", "10");
|
|
|
|
|
@ -138,7 +140,8 @@ public class CommWebBrowserController {
|
|
|
|
|
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
else if(strReturn.equals("05") == true) {
|
|
|
|
|
|
|
|
|
|
if(exmptCheckReturn.equals("05") == true) {
|
|
|
|
|
Map<String, String> mapTemp = new HashMap<String, String>();
|
|
|
|
|
mapTemp.put("carNo", param.get("carNo").toString());
|
|
|
|
|
mapTemp.put("year", param.get("year").toString());
|
|
|
|
|
@ -163,41 +166,35 @@ public class CommWebBrowserController {
|
|
|
|
|
result.setData(ResultSmartPlatform.RESULT_KEY_DEFAULT, map);
|
|
|
|
|
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, String> mapTemp = new HashMap<String, String>();
|
|
|
|
|
mapTemp.put("05", "면제지침");
|
|
|
|
|
mapTemp.put("13", "기타");
|
|
|
|
|
|
|
|
|
|
// 감면 테이블
|
|
|
|
|
mapOrg.put("READ_RESULT_ID", "00");
|
|
|
|
|
mapOrg.put("READING_ID", "30");
|
|
|
|
|
mapOrg.put("READ_KBN", "0");
|
|
|
|
|
mapOrg.put("RE_CERTIFICATION", "1");
|
|
|
|
|
mapOrg.put("READER", "admin");
|
|
|
|
|
|
|
|
|
|
Map<String, String> codeMap_redu = new HashMap<String, String>();
|
|
|
|
|
codeMap_redu.put("00", "경차");
|
|
|
|
|
codeMap_redu.put("01", "요일제");
|
|
|
|
|
codeMap_redu.put("02", "지역주민");
|
|
|
|
|
codeMap_redu.put("03", "저공해");
|
|
|
|
|
|
|
|
|
|
String reduCheckReturn = "";
|
|
|
|
|
|
|
|
|
|
obj = commCollectServerService.selectReduCarList(param);
|
|
|
|
|
if(obj != null && obj.size() > 0) {
|
|
|
|
|
mapTemp = new HashMap<String, String>();
|
|
|
|
|
mapTemp.put("00", "경차");
|
|
|
|
|
mapTemp.put("01", "요일제");
|
|
|
|
|
mapTemp.put("02", "지역주민");
|
|
|
|
|
mapTemp.put("03", "저공해");
|
|
|
|
|
|
|
|
|
|
reduCheckReturn = obj.get(0).get("REDU_CD").toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(!reduCheckReturn.equals("")){
|
|
|
|
|
map = new HashMap<String, Object>();
|
|
|
|
|
map.put("resultExmpCd", "20");
|
|
|
|
|
map.put("resultDecode", obj.get(0).get("REDU_CD").toString());
|
|
|
|
|
map.put("remarks", String.format("%s감면 차량", mapTemp.get(obj.get(0).get("REDU_CD").toString())));
|
|
|
|
|
map.put("resultDecode", reduCheckReturn);
|
|
|
|
|
map.put("remarks", String.format("%s감면 차량", codeMap_redu.get(reduCheckReturn)));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.info("자동판독 감면처리 (" + param.get("carNo") + ")");
|
|
|
|
|
logger.info(map.toString());
|
|
|
|
|
result.setData(ResultSmartPlatform.RESULT_KEY_DEFAULT, map);
|
|
|
|
|
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
map = new HashMap<String, Object>();
|
|
|
|
|
map.put("resultExmpCd", "00");
|
|
|
|
|
map.put("resultDecode", "00");
|
|
|
|
|
|