From 2acbd77c3b143e69fce72facd95591937ce19f99 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Fri, 28 Jun 2024 14:16:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20API=20trace=20log=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nims/service/bean/InfNimsServiceBean.java | 25 +++---------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java b/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java index a5ade26..7b6cad6 100644 --- a/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java +++ b/src/main/java/cokr/xit/adds/inf/nims/service/bean/InfNimsServiceBean.java @@ -8,7 +8,6 @@ import org.springframework.stereotype.Service; import com.fasterxml.jackson.core.type.TypeReference; -import cokr.xit.adds.core.spring.annotation.TraceLogging; import cokr.xit.adds.core.spring.exception.ApiCustomException; import cokr.xit.adds.core.util.ApiUtil; import cokr.xit.adds.inf.nims.model.NimsApiDto; @@ -91,7 +90,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe } @Override - @TraceLogging + //@TraceLogging public NimsApiResult.Response getProductInfoKd(NimsApiRequest.ProductInfoReq dto) { ApiUtil.validate(dto, null, validator); if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null); @@ -102,7 +101,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe } @Override - @TraceLogging + //@TraceLogging public NimsApiResult.Response getMnfSeqInfo(NimsApiRequest.MnfSeqInfoReq dto) { ApiUtil.validate(dto, null, validator); if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null); @@ -127,7 +126,7 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe } @Override - @TraceLogging + //@TraceLogging public NimsApiResult.Response getDsuseRptInfo(NimsApiRequest.DsuseRptInfoReq dto) { ApiUtil.validate(dto, null, validator); ApiUtil.checkYmdError(dto.getSdt(), "sdt"); @@ -138,22 +137,4 @@ public class InfNimsServiceBean extends AbstractServiceBean implements InfNimsSe NimsApiResult result = json.parse(rslt, new TypeReference<>() {}); return result.getResponse(); } - - - // @Override - // @TraceLogging - // public NimsApiResult.Response getStorageInfo(NimsApiRequest.StorageInfoRequest dto) { - // dto.setK(nimsApiKey); - // ApiUtil.validate(dto, null, validator); - // if(!isEmpty(dto.getYmd())) ApiUtil.checkYmdError(dto.getYmd(), null); - // if(!isEmpty(dto.getFg()) && dto.getFg().equals("1")) { - // if(isEmpty(dto.getBc())){ - // throw ApiCustomException.create("조회 범위를 특정업체(fg=1)로 조회할 경우 취급자식별번호(bc)는 필수입니다"); - // } - // } - // - // String rslt = ApiUtil.callNimsApi(nimsUrl + placeinfoV1, dto); - // NimsApiResult result = json.parse(rslt, new TypeReference<>() {}); - // return result.getResponse(); - // } }