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(); - // } }