diff --git a/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java b/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java index 71ae9a42..a20737ff 100644 --- a/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java +++ b/src/main/java/cokr/xit/fims/stat/web/Stat01Controller.java @@ -27,6 +27,19 @@ import cokr.xit.fims.stat.service.StatService; */ public class Stat01Controller extends ApplicationController { + public static final String CLASS_URL = "/stat/stat01"; + + public class METHOD_URL { + public static final String + getStatistics = "/010/info.do", + comprehensiveStatisticsMain = "/010/main.do", + crackdownStatisticsMain = "/020/main.do", + levyStatisticsMain = "/030/main.do", + sendStatisticsMain = "/040/main.do", + receivingStatisticsMain = "/050/main.do" + ; + } + @Resource(name="statService") private StatService statService; diff --git a/src/main/java/cokr/xit/fims/task/web/CmnController.java b/src/main/java/cokr/xit/fims/task/web/CmnController.java index c307412e..8f752e21 100644 --- a/src/main/java/cokr/xit/fims/task/web/CmnController.java +++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java @@ -393,42 +393,42 @@ public class CmnController { } @Controller - @RequestMapping(name="통계", value="/stat/stat01") + @RequestMapping(name="통계", value=Stat01Controller.CLASS_URL) class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller { @Override - @RequestMapping(name="통계 요청", value="/010/info.do") + @RequestMapping(name="통계 요청", value=METHOD_URL.getStatistics) public ModelAndView getStatistics(StatQuery query) { return super.getStatistics(query); } @Override - @RequestMapping(name="종합 통계 메인", value="/010/main.do") + @RequestMapping(name="종합 통계 메인", value=METHOD_URL.comprehensiveStatisticsMain) public ModelAndView comprehensiveStatisticsMain() { return super.comprehensiveStatisticsMain(); } @Override - @RequestMapping(name="단속 통계 메인", value="/020/main.do") + @RequestMapping(name="단속 통계 메인", value=METHOD_URL.crackdownStatisticsMain) public ModelAndView crackdownStatisticsMain() { return super.crackdownStatisticsMain(); } @Override - @RequestMapping(name="부과 통계 메인", value="/030/main.do") + @RequestMapping(name="부과 통계 메인", value=METHOD_URL.levyStatisticsMain) public ModelAndView levyStatisticsMain() { return super.levyStatisticsMain(); } @Override - @RequestMapping(name="발송 통계 메인", value="/040/main.do") + @RequestMapping(name="발송 통계 메인", value=METHOD_URL.sendStatisticsMain) public ModelAndView sendStatisticsMain() { return super.sendStatisticsMain(); } @Override - @RequestMapping(name="수납 통계 메인", value="/050/main.do") + @RequestMapping(name="수납 통계 메인", value=METHOD_URL.receivingStatisticsMain) public ModelAndView receivingStatisticsMain() { return super.receivingStatisticsMain(); }