From 3a4f006f710d772b4061a5e74ce6af73227bacf4 Mon Sep 17 00:00:00 2001
From: Leeyh1121 <130335980+Leeyh1121@users.noreply.github.com>
Date: Wed, 19 Jun 2024 20:20:33 +0900
Subject: [PATCH] =?UTF-8?q?fit=20:=20=20"=ED=8F=90=EA=B8=B0=20=EB=B3=B4?=
=?UTF-8?q?=EA=B3=A0=20=ED=99=95=EC=9D=B8(=ED=8F=90=EA=B8=B0=EA=B4=80?=
=?UTF-8?q?=EB=A6=AC=20=EB=8D=B0=EC=9D=B4=ED=83=80=EC=97=90=20=EB=8C=80?=
=?UTF-8?q?=ED=95=9C=20=ED=8F=90=EA=B8=B0=EB=B3=B4=EA=B3=A0=20=EB=A7=A4?=
=?UTF-8?q?=ED=95=91)"=20get=EB=B0=A9=EC=8B=9D=EA=B3=BC=20post=EB=B0=A9?=
=?UTF-8?q?=EC=8B=9D=20=EB=8B=A4=20=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84?=
=?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/cokr/xit/adds/biz/nims/model/BizNimsRequest.java | 1 +
.../java/cokr/xit/adds/biz/nims/web/BizNimsController.java | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsRequest.java b/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsRequest.java
index 58c7e47..0670395 100644
--- a/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsRequest.java
+++ b/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsRequest.java
@@ -242,6 +242,7 @@ public class BizNimsRequest {
*/
@Schema(name = "DsuseRptMappingInqReq", description = "폐기 보고 확인 request DTO")
@Getter
+ @Setter
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
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 06f2641..f1f8771 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,9 +182,9 @@ public class BizNimsController {
}
@Operation(summary = "폐기 보고 확인(폐기관리 데이타에 대한 폐기보고 매핑)", description = "폐기 보고 확인(폐기관리 데이타에 대한 폐기보고 매핑)
폐기 관리 데이터에 대한 폐기보고 매핑 대상 데이타 조회 return
NIMS API 호출 결과를 DB에 저장", tags = { "BIZ NIMS API" })
- @PostMapping("/getDsuseMgtMapping")
+ @RequestMapping(value = "/getDsuseMgtMapping", method = { RequestMethod.POST, RequestMethod.GET })
public ApiBaseResponse> getDsuseMgtMapping(
- @RequestBody BizNimsRequest.DsuseRptMappingInqReq dto
+ @ModelAttribute BizNimsRequest.DsuseRptMappingInqReq dto
) {
return ApiBaseResponse.of(bizNimsService.getDsuseMgtMapping(dto));
}