From 06ec4d3f0450db02123ae0aa2b8fe728d4ecb695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B1=EC=98=81?= Date: Tue, 2 Dec 2025 13:23:57 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=90=EB=8F=99=EC=B0=A8=EA=B2=80=EC=82=AC?= =?UTF-8?q?=20=EA=B3=BC=ED=83=9C=EB=A3=8C=20API=20=ED=98=B8=EC=B6=9C?= =?UTF-8?q?=EC=9D=B4=20'=EC=B2=98=EB=A6=AC=EC=83=81=ED=83=9C=20:=20?= =?UTF-8?q?=EC=A0=91=EC=88=98,01'=EC=9D=B4=20=EC=95=84=EB=8B=90=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=EC=97=90=EB=8A=94=20=ED=98=B8=EC=B6=9C=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=ED=91=9C=EC=B6=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../registration/service/impl/CarFfnlgTrgtServiceImpl.java | 2 +- .../WEB-INF/views/carInspectionPenalty/registration/list.jsp | 5 +++++ src/main/webapp/resources/xit/xit-common.js | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java b/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java index eac2e74..2ec2968 100644 --- a/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java +++ b/src/main/java/go/kr/project/carInspectionPenalty/registration/service/impl/CarFfnlgTrgtServiceImpl.java @@ -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); diff --git a/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp b/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp index 91039d9..6a3d3fd 100644 --- a/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp +++ b/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/list.jsp @@ -815,6 +815,11 @@ // 검색 조건 설정 setSearchCond(); + // 페이징 없이 전체 조회를 위한 파라미터, 백엔드에서 처리해되되나 params 값을 던지기위해 다시한번 처리 + var params = Object.assign({}, SEARCH_COND, { + pagingYn: 'N' // 페이징 비활성화 + }); + // 로딩 메시지 표시 console.log("전체 데이터 API 호출 및 비교 중입니다...\n잠시만 기다려주세요."); diff --git a/src/main/webapp/resources/xit/xit-common.js b/src/main/webapp/resources/xit/xit-common.js index 8997443..57a6c42 100644 --- a/src/main/webapp/resources/xit/xit-common.js +++ b/src/main/webapp/resources/xit/xit-common.js @@ -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); }