소스 정리

main
이범준 1 year ago
parent 59cb378f61
commit 1875c1048d

@ -27,6 +27,19 @@ import cokr.xit.fims.stat.service.StatService;
*/ */
public class Stat01Controller extends ApplicationController { 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") @Resource(name="statService")
private StatService statService; private StatService statService;

@ -393,42 +393,42 @@ public class CmnController {
} }
@Controller @Controller
@RequestMapping(name="통계", value="/stat/stat01") @RequestMapping(name="통계", value=Stat01Controller.CLASS_URL)
class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller { class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller {
@Override @Override
@RequestMapping(name="통계 요청", value="/010/info.do") @RequestMapping(name="통계 요청", value=METHOD_URL.getStatistics)
public ModelAndView getStatistics(StatQuery query) { public ModelAndView getStatistics(StatQuery query) {
return super.getStatistics(query); return super.getStatistics(query);
} }
@Override @Override
@RequestMapping(name="종합 통계 메인", value="/010/main.do") @RequestMapping(name="종합 통계 메인", value=METHOD_URL.comprehensiveStatisticsMain)
public ModelAndView comprehensiveStatisticsMain() { public ModelAndView comprehensiveStatisticsMain() {
return super.comprehensiveStatisticsMain(); return super.comprehensiveStatisticsMain();
} }
@Override @Override
@RequestMapping(name="단속 통계 메인", value="/020/main.do") @RequestMapping(name="단속 통계 메인", value=METHOD_URL.crackdownStatisticsMain)
public ModelAndView crackdownStatisticsMain() { public ModelAndView crackdownStatisticsMain() {
return super.crackdownStatisticsMain(); return super.crackdownStatisticsMain();
} }
@Override @Override
@RequestMapping(name="부과 통계 메인", value="/030/main.do") @RequestMapping(name="부과 통계 메인", value=METHOD_URL.levyStatisticsMain)
public ModelAndView levyStatisticsMain() { public ModelAndView levyStatisticsMain() {
return super.levyStatisticsMain(); return super.levyStatisticsMain();
} }
@Override @Override
@RequestMapping(name="발송 통계 메인", value="/040/main.do") @RequestMapping(name="발송 통계 메인", value=METHOD_URL.sendStatisticsMain)
public ModelAndView sendStatisticsMain() { public ModelAndView sendStatisticsMain() {
return super.sendStatisticsMain(); return super.sendStatisticsMain();
} }
@Override @Override
@RequestMapping(name="수납 통계 메인", value="/050/main.do") @RequestMapping(name="수납 통계 메인", value=METHOD_URL.receivingStatisticsMain)
public ModelAndView receivingStatisticsMain() { public ModelAndView receivingStatisticsMain() {
return super.receivingStatisticsMain(); return super.receivingStatisticsMain();
} }

Loading…
Cancel
Save