From 667eae0ea33af42f9fa87e06d8c6290ea0ddc34d Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 30 Apr 2024 16:02:52 +0900 Subject: [PATCH] =?UTF-8?q?@Controller=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/template/controller.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/template/controller.tmpl b/src/main/resources/template/controller.tmpl index b5f4f5d..d6647c6 100644 --- a/src/main/resources/template/controller.tmpl +++ b/src/main/resources/template/controller.tmpl @@ -4,6 +4,7 @@ import java.util.List; import javax.annotation.Resource; +import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; @@ -25,6 +26,7 @@ import {serviceFullname}; * ================================ * */ +@Controller @RequestMapping(name = "{entityComment}", value = "/{entityName}") public class {controllerClass} extends ApplicationController { /**{entityComment} 서비스*/