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} 서비스*/