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));