From 5dc70918fc7e716f75891e248188736d719bcbee Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Sat, 20 Jul 2024 01:58:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8F=90=EA=B8=B0=EB=B3=B4=EA=B3=A0?= =?UTF-8?q?=ED=99=95=EC=9D=B8=20=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adds/biz/nims/service/BizNimsService.java | 17 +---------------- .../nims/service/bean/BizNimsServiceBean.java | 2 +- .../adds/biz/nims/web/BizNimsController.java | 6 +++--- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/src/main/java/cokr/xit/adds/biz/nims/service/BizNimsService.java b/src/main/java/cokr/xit/adds/biz/nims/service/BizNimsService.java index 8472bf4..471ff99 100644 --- a/src/main/java/cokr/xit/adds/biz/nims/service/BizNimsService.java +++ b/src/main/java/cokr/xit/adds/biz/nims/service/BizNimsService.java @@ -37,8 +37,6 @@ public interface BizNimsService { List getJurisdictionGovInfo(final NimsApiRequest.JurisdictionGovInfoReq dto); List getNimsDsuseRptInfo(final NimsApiRequest.DsuseRptInfoReq dto); - // List saveStorageInfo(NimsApiRequest.StorageInfoRequest dto); - //------------------------------------------------------------------------------------------------------ // NIMS BIZ @@ -55,7 +53,6 @@ public interface BizNimsService { NimsApiDto.ProductInfoKd getPrdMnfSeqInfoOfBarcode(final String barcodeStr, final String userId); - /** *
 	 * 폐기연계보고 데이타를 API에서 조회후 DB 저장
@@ -75,19 +72,7 @@ public interface BizNimsService {
 	 */
 	List saveDsuseRptInfo(final NimsApiRequest.DsuseRptInfoReq dto);
 
-	List getDsuseMgtMapping(final BizNimsRequest.DsuseRptMappingInqReq reqDto);
+	List getDsuseRptAndDsuseMgtMapping(final BizNimsRequest.DsuseRptMappingInqReq reqDto);
 
 	void modifyMappingDsuseMgt(final BizNimsRequest.DsuseMgtMappingReq mgtDto);
-
-
-	// @Deprecated
-	// BizNimsDto.DsuseMgt saveDsuseMgt(final BizNimsDto.DsuseMgt dto);
-	// @Deprecated
-	// List saveDsuseMgts(List dtos);
-
-
-	// BizNimsAarDto.AarHeader getTgtDsuseRptData(BizNimsRequest.DsuseMgt dto);
-	// BizNimsAarDto.AarHeader createTgtDsuseRptData(BizNimsAarDto.AarHeader dto);
-
-
 }
diff --git a/src/main/java/cokr/xit/adds/biz/nims/service/bean/BizNimsServiceBean.java b/src/main/java/cokr/xit/adds/biz/nims/service/bean/BizNimsServiceBean.java
index eb42642..17621c5 100644
--- a/src/main/java/cokr/xit/adds/biz/nims/service/bean/BizNimsServiceBean.java
+++ b/src/main/java/cokr/xit/adds/biz/nims/service/bean/BizNimsServiceBean.java
@@ -478,7 +478,7 @@ public class BizNimsServiceBean extends AbstractServiceBean implements BizNimsSe
 	 * 
*/ @Override - public List getDsuseMgtMapping(BizNimsRequest.DsuseRptMappingInqReq reqDto) { + public List getDsuseRptAndDsuseMgtMapping(BizNimsRequest.DsuseRptMappingInqReq reqDto) { ApiUtil.validate(reqDto, null, validator); Map apiInfInfo = getApiInfInfo(reqDto.getUserId()); diff --git a/src/main/java/cokr/xit/adds/biz/nims/web/BizNimsController.java b/src/main/java/cokr/xit/adds/biz/nims/web/BizNimsController.java index 691b77f..05cb726 100644 --- a/src/main/java/cokr/xit/adds/biz/nims/web/BizNimsController.java +++ b/src/main/java/cokr/xit/adds/biz/nims/web/BizNimsController.java @@ -182,11 +182,11 @@ public class BizNimsController { } @Operation(summary = "폐기 보고 확인(폐기관리 데이타에 대한 폐기보고 매핑)", description = "폐기 보고 확인(폐기관리 데이타에 대한 폐기보고 매핑)

폐기 관리 데이터에 대한 폐기보고 매핑 대상 데이타 조회 return

NIMS API 호출 결과를 DB에 저장", tags = { "BIZ NIMS API" }) - @RequestMapping(value = "/getDsuseMgtMapping", method = { RequestMethod.POST, RequestMethod.GET }) - public ApiBaseResponse> getDsuseMgtMapping( + @RequestMapping(value = "/getDsuseRptAndDsuseMgtMapping", method = { RequestMethod.POST, RequestMethod.GET }) + public ApiBaseResponse> getDsuseRptAndDsuseMgtMapping( @ModelAttribute BizNimsRequest.DsuseRptMappingInqReq dto ) { - return ApiBaseResponse.of(bizNimsService.getDsuseMgtMapping(dto)); + return ApiBaseResponse.of(bizNimsService.getDsuseRptAndDsuseMgtMapping(dto)); } @Operation(summary = "폐기관리 데이타 폐기보고매핑 정보 변경", description = "폐기관리 데이타 폐기보고매핑 정보 변경

폐기 관리 데이터에 대한 폐기보고 매핑 정보 변경", tags = { "BIZ NIMS API" })