From c14cdee5044a5e7c0f25a688d37a88a4a1d3e10e Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Thu, 1 Aug 2024 16:31:07 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20access=20log=20JPA=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cheonan/signtalk/service/TrafficCaSigntalkService.java | 1 - src/main/resources/mybatis-mapper/core/AccessLogMapper.xml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/signtalk/service/TrafficCaSigntalkService.java b/src/main/java/cokr/xit/ens/biz/traffic/cheonan/signtalk/service/TrafficCaSigntalkService.java index 0553480..9a00268 100644 --- a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/signtalk/service/TrafficCaSigntalkService.java +++ b/src/main/java/cokr/xit/ens/biz/traffic/cheonan/signtalk/service/TrafficCaSigntalkService.java @@ -47,7 +47,6 @@ public class TrafficCaSigntalkService { public EnsResponseVO accept(String elctrnNticSndngId) { try { - TcaElctrnNticSndng elctrnNticSndng = tcaElctrnNticSndngRepository.findById(elctrnNticSndngId) .orElseThrow(() -> new EnsException(EnsErrCd.ACPT404, "일치하는 자료가 없습니다.")); if (!SndngProcessSttusCd.accept.equals(elctrnNticSndng.getSndngProcessSttus())) diff --git a/src/main/resources/mybatis-mapper/core/AccessLogMapper.xml b/src/main/resources/mybatis-mapper/core/AccessLogMapper.xml index 36a39c7..d3b0fc1 100644 --- a/src/main/resources/mybatis-mapper/core/AccessLogMapper.xml +++ b/src/main/resources/mybatis-mapper/core/AccessLogMapper.xml @@ -37,6 +37,7 @@ UPDATE ens_access_log SET end_dt = now() , status = #{status} + , response = #{response} WHERE log_id = #{logId}