자동차검사 과태료 API 호출이 '처리상태 : 접수,01'이 아닐경우에는 호출되지 않도록 변경

메시지 표출 변경
main
박성영 2 weeks ago
parent f41ee27f1a
commit 06ec4d3f04

@ -989,7 +989,7 @@ public class CarFfnlgTrgtServiceImpl extends EgovAbstractServiceImpl implements
} catch (Exception e) {
log.error("데이터 비교 중 오류 발생 - 차량번호: {}, 전체 롤백 처리", vhclno, e);
// 예외 재발생하여 전체 롤백 처리
throw new MessageException(String.format("데이터 비교 중 오류 발생 - 차량번호: %s, 전체 롤백 처리되었습니다.", vhclno), e);
throw new MessageException(e.getMessage(), e);
}
compareResults.add(compareResult);

@ -815,6 +815,11 @@
// 검색 조건 설정
setSearchCond();
// 페이징 없이 전체 조회를 위한 파라미터, 백엔드에서 처리해되되나 params 값을 던지기위해 다시한번 처리
var params = Object.assign({}, SEARCH_COND, {
pagingYn: 'N' // 페이징 비활성화
});
// 로딩 메시지 표시
console.log("전체 데이터 API 호출 및 비교 중입니다...\n잠시만 기다려주세요.");

@ -71,6 +71,8 @@ $(document).ajaxError( function( event, jqxhr, settings, exception ){
alert(jqxhr.responseJSON.message);
} else if(jqxhr.responseJSON.errorCode === "MESSAGE_EXCEPTION") {
alert(jqxhr.responseJSON.message);
} else if(jqxhr.responseJSON.errorCode === "MESSAGE") {
alert(jqxhr.responseJSON.message);
} else {
alert("에러가 발생했습니다.\n\nERROR CODE : "+jqxhr.responseJSON.errorCode+"\nMESSAGE : "+jqxhr.responseJSON.message);
}

Loading…
Cancel
Save