From 6be4e785f6f7c39a31fade2874bffcf995e76312 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 28 Aug 2023 16:32:35 +0900 Subject: [PATCH] =?UTF-8?q?JSON=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=88=98?= =?UTF-8?q?=EC=8B=A0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/crdn/web/InterfaceController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/fims/crdn/web/InterfaceController.java b/src/main/java/cokr/xit/fims/crdn/web/InterfaceController.java index dd604cf4..2cb13417 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/InterfaceController.java +++ b/src/main/java/cokr/xit/fims/crdn/web/InterfaceController.java @@ -1,7 +1,6 @@ package cokr.xit.fims.crdn.web; import java.util.List; -import java.util.Map; import javax.annotation.Resource; @@ -28,8 +27,7 @@ public class InterfaceController extends ApplicationController { * */ @PostMapping(value = "/petition/receive.do", name = "국민 신문고 민원 수신") - public ModelAndView importSmgPetition(@RequestBody Map params) { - List intfSeqs = (List)params.get("interfaceSequences"); + public ModelAndView importSmgPetition(@RequestBody List intfSeqs) { boolean empty = isEmpty(intfSeqs); log().debug("interfaceSequences received: {}", empty ? "none" : String.join(", ", intfSeqs));