소스정리

main
이범준 7 months ago
parent c41a13912e
commit e57eecccc1

@ -7,6 +7,8 @@ import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.io.FilenameUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
@ -38,6 +40,8 @@ import cokr.xit.foundation.data.DataObject;
* ================================
* </pre>
*/
@Controller
@RequestMapping(name="설정관리", value=StngController.CLASS_URL)
public class StngController extends ApplicationController {
public static final String CLASS_URL = "/stng/stng01";
@ -79,6 +83,7 @@ public class StngController extends ApplicationController {
/** .
* @return
*/
@RequestMapping(name="출력물 설정 메인 화면", value=METHOD_URL.otptStngMain)
public ModelAndView otptStngMain() {
ModelAndView mav = new ModelAndView("fims/stng01010-main");
mav.addObject("pageName", "stng01010");
@ -98,6 +103,7 @@ public class StngController extends ApplicationController {
/** .
* @return
*/
@RequestMapping(name="출력물 설정 정보 조회", value=METHOD_URL.getOtptStngInfo)
public ModelAndView getOtptStngInfo(OtptStngQuery otptStngQuery) {
ModelAndView mav = new ModelAndView("jsonView");
@ -141,6 +147,7 @@ public class StngController extends ApplicationController {
/** .
* @return
*/
@RequestMapping(name="출력물 설정 정보 저장", value=METHOD_URL.saveOtptStngInfo)
public ModelAndView saveOtptStngInfo(OtptForm otptForm, MultipartFile backgroundFile) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;
@ -186,6 +193,7 @@ public class StngController extends ApplicationController {
/** PDF .
* @return PDF
*/
@RequestMapping(name="PDF 자료 추출 설정 메인 화면", value=METHOD_URL.extrStngMain)
public ModelAndView extrStngMain() {
ModelAndView mav = new ModelAndView("fims/stng01020-main");
mav.addObject("pageName", "stng01020");
@ -206,6 +214,7 @@ public class StngController extends ApplicationController {
/** PDF .
* @return PDF
*/
@RequestMapping(name="PDF 자료 추출 설정 정보 조회", value=METHOD_URL.getExtrStngInfo)
public ModelAndView getExtrStngInfo(ExtrStngQuery extrStngQuery) {
ModelAndView mav = new ModelAndView("jsonView");
@ -254,6 +263,7 @@ public class StngController extends ApplicationController {
/** PDF .
* @return
*/
@RequestMapping(name="PDF 자료 추출 설정 정보 저장", value=METHOD_URL.saveExtrStngInfo)
public ModelAndView saveExtrStngInfo(ExtrForm extrForm) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;
@ -270,6 +280,7 @@ public class StngController extends ApplicationController {
/** .
* @return
*/
@RequestMapping(name="외주요청파일 서식 설정 메인 화면", value=METHOD_URL.outsourcingStngMain)
public ModelAndView outsourcingStngMain() {
ModelAndView mav = new ModelAndView("fims/stng01030-main");
mav.addObject("pageName", "stng01030");
@ -290,6 +301,7 @@ public class StngController extends ApplicationController {
/** .
* @return
*/
@RequestMapping(name="외주요청파일 서식 설정 정보 조회", value=METHOD_URL.getOutsourcingStngInfo)
public ModelAndView getOutsourcingStngInfo(OutsourcingStngQuery outsourcingStngQuery) {
ModelAndView mav = new ModelAndView("jsonView");
@ -331,6 +343,7 @@ public class StngController extends ApplicationController {
/** .
* @return
*/
@RequestMapping(name="외주요청파일 서식 설정 정보 저장", value=METHOD_URL.saveOutsourcingStngInfo)
public ModelAndView saveOutsourcingStngInfo(OutsourcingForm outsourcingForm) {
ModelAndView mav = new ModelAndView("jsonView");
boolean saved = false;

@ -7,6 +7,8 @@ import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
@ -27,6 +29,8 @@ import cokr.xit.foundation.data.DataObject;
* { }/stat .
* @author leebj
*/
@Controller
@RequestMapping(name="통계", value=Stat01Controller.CLASS_URL)
public class Stat01Controller extends ApplicationController {
public static final String CLASS_URL = "/stat/stat01";
@ -57,6 +61,7 @@ public class Stat01Controller extends ApplicationController {
/**
* @return
*/
@RequestMapping(name="통계 요청", value=METHOD_URL.getStatistics)
public ModelAndView getStatistics(StatQuery statQuery) {
ModelAndView mav = new ModelAndView("jsonView");
@ -136,6 +141,7 @@ public class Stat01Controller extends ApplicationController {
/** .
* @return fims/stat/stat01010-main
*/
@RequestMapping(name="종합 통계 메인", value=METHOD_URL.comprehensiveStatisticsMain)
public ModelAndView comprehensiveStatisticsMain() {
ModelAndView mav = new ModelAndView();
@ -160,6 +166,7 @@ public class Stat01Controller extends ApplicationController {
/** .
* @return fims/stat/stat01020-main
*/
@RequestMapping(name="단속 통계 메인", value=METHOD_URL.crackdownStatisticsMain)
public ModelAndView crackdownStatisticsMain() {
ModelAndView mav = new ModelAndView();
@ -185,6 +192,7 @@ public class Stat01Controller extends ApplicationController {
/** .
* @return fims/stat/stat01030-main
*/
@RequestMapping(name="부과 통계 메인", value=METHOD_URL.levyStatisticsMain)
public ModelAndView levyStatisticsMain() {
ModelAndView mav = new ModelAndView();
@ -208,6 +216,7 @@ public class Stat01Controller extends ApplicationController {
/** .
* @return fims/stat/stat01040-main
*/
@RequestMapping(name="발송 통계 메인", value=METHOD_URL.sendStatisticsMain)
public ModelAndView sendStatisticsMain() {
ModelAndView mav = new ModelAndView();
@ -231,6 +240,7 @@ public class Stat01Controller extends ApplicationController {
/** .
* @return fims/stat/stat01050-main
*/
@RequestMapping(name="수납 통계 메인", value=METHOD_URL.receivingStatisticsMain)
public ModelAndView receivingStatisticsMain() {
ModelAndView mav = new ModelAndView();

@ -6,12 +6,6 @@ import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.cmmn.ExtrForm;
import cokr.xit.fims.cmmn.ExtrStngQuery;
import cokr.xit.fims.cmmn.OtptForm;
import cokr.xit.fims.cmmn.OtptStngQuery;
import cokr.xit.fims.cmmn.OutsourcingForm;
import cokr.xit.fims.cmmn.OutsourcingStngQuery;
import cokr.xit.fims.mngt.FimsDepartment;
import cokr.xit.fims.mngt.FimsSigungu;
import cokr.xit.fims.mngt.Ntc;
@ -20,58 +14,12 @@ import cokr.xit.fims.mngt.Schdl;
import cokr.xit.fims.mngt.SchdlQuery;
import cokr.xit.fims.mngt.Task;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.stat.StatQuery;
@Controller
public class CmnController {
@Controller
@RequestMapping(name="통계", value=Stat01Controller.CLASS_URL)
class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller {
@Override
@RequestMapping(name="통계 요청", value=METHOD_URL.getStatistics)
public ModelAndView getStatistics(StatQuery query) {
return super.getStatistics(query);
}
@Override
@RequestMapping(name="종합 통계 메인", value=METHOD_URL.comprehensiveStatisticsMain)
public ModelAndView comprehensiveStatisticsMain() {
return super.comprehensiveStatisticsMain();
}
@Override
@RequestMapping(name="단속 통계 메인", value=METHOD_URL.crackdownStatisticsMain)
public ModelAndView crackdownStatisticsMain() {
return super.crackdownStatisticsMain();
}
@Override
@RequestMapping(name="부과 통계 메인", value=METHOD_URL.levyStatisticsMain)
public ModelAndView levyStatisticsMain() {
return super.levyStatisticsMain();
}
@Override
@RequestMapping(name="발송 통계 메인", value=METHOD_URL.sendStatisticsMain)
public ModelAndView sendStatisticsMain() {
return super.sendStatisticsMain();
}
@Override
@RequestMapping(name="수납 통계 메인", value=METHOD_URL.receivingStatisticsMain)
public ModelAndView receivingStatisticsMain() {
return super.receivingStatisticsMain();
}
}
@Controller
@RequestMapping(name="공지사항 관리", value=Mngt01Controller.CLASS_URL)
class Mngt01Controller extends cokr.xit.fims.mngt.web.Mngt01Controller {
@ -251,62 +199,5 @@ public class CmnController {
@Controller
@RequestMapping(name="설정관리", value=StngController.CLASS_URL)
class StngController extends cokr.xit.fims.cmmn.web.StngController {
@Override
@RequestMapping(name="출력물 설정 메인 화면", value=METHOD_URL.otptStngMain)
public ModelAndView otptStngMain() {
return super.otptStngMain();
}
@Override
@RequestMapping(name="출력물 설정 정보 조회", value=METHOD_URL.getOtptStngInfo)
public ModelAndView getOtptStngInfo(OtptStngQuery otptStngQuery) {
return super.getOtptStngInfo(otptStngQuery);
}
@Override
@RequestMapping(name="출력물 설정 정보 저장", value=METHOD_URL.saveOtptStngInfo)
public ModelAndView saveOtptStngInfo(OtptForm otptForm, MultipartFile backgroundFile) {
return super.saveOtptStngInfo(otptForm, backgroundFile);
}
@Override
@RequestMapping(name="PDF 자료 추출 설정 메인 화면", value=METHOD_URL.extrStngMain)
public ModelAndView extrStngMain() {
return super.extrStngMain();
}
@Override
@RequestMapping(name="PDF 자료 추출 설정 정보 조회", value=METHOD_URL.getExtrStngInfo)
public ModelAndView getExtrStngInfo(ExtrStngQuery extrStngQuery) {
return super.getExtrStngInfo(extrStngQuery);
}
@Override
@RequestMapping(name="PDF 자료 추출 설정 정보 저장", value=METHOD_URL.saveExtrStngInfo)
public ModelAndView saveExtrStngInfo(ExtrForm extrForm) {
return super.saveExtrStngInfo(extrForm);
}
@Override
@RequestMapping(name="외주요청파일 서식 설정 메인 화면", value=METHOD_URL.outsourcingStngMain)
public ModelAndView outsourcingStngMain() {
return super.outsourcingStngMain();
}
@Override
@RequestMapping(name="외주요청파일 서식 설정 정보 조회", value=METHOD_URL.getOutsourcingStngInfo)
public ModelAndView getOutsourcingStngInfo(OutsourcingStngQuery outsourcingStngQuery) {
return super.getOutsourcingStngInfo(outsourcingStngQuery);
}
@Override
@RequestMapping(name="외주요청파일 서식 설정 정보 저장", value=METHOD_URL.saveOutsourcingStngInfo)
public ModelAndView saveOutsourcingStngInfo(OutsourcingForm outsourcingForm) {
return super.saveOutsourcingStngInfo(outsourcingForm);
}
}
}

Loading…
Cancel
Save