소스 정리

main
이범준 7 months ago
parent 147c350ab5
commit c41a13912e

@ -2,10 +2,13 @@ package cokr.xit.fims.nxrp.web;
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.fims.nxrp.NisIndivQuery;
import cokr.xit.fims.nxrp.service.NisIndivService;
import cokr.xit.fims.task.Task;
import cokr.xit.foundation.web.AbstractController;
/**
@ -18,6 +21,8 @@ import cokr.xit.foundation.web.AbstractController;
* ================================
* </pre>
*/
@Controller
@RequestMapping(name="차세대 세외수입 연계", value=Nxrp01Controller.CLASS_URL)
public class Nxrp01Controller extends AbstractController {
public static final String CLASS_URL = "/nxrp/nxrp01";
@ -42,6 +47,8 @@ public class Nxrp01Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task({"ECA","DPV","PES","DVS"})
@RequestMapping(name="차세대 세외수입 과태료 대장 단속 정보 등록", value=METHOD_URL.createIndividualA01)
public ModelAndView createIndividualA01(NisIndivQuery req) {
boolean saved = false;
String rtnMsg = nisIndivService.createNisIndivA01(req);
@ -64,6 +71,8 @@ public class Nxrp01Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="차세대 세외수입 과태료 대장 등록 자료 일괄 조회", value=METHOD_URL.updateIndividualA02TaskApplication)
public ModelAndView updateIndividualA02TaskApplication(NisIndivQuery req) {
boolean saved = false;
String rtnMsg = nisIndivService.updateNisIndivA02TaskAplcn(req);
@ -86,6 +95,8 @@ public class Nxrp01Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="차세대 세외수입 과태료 대장 등록 자료 상세 조회", value=METHOD_URL.updateIndividualA03TaskApplication)
public ModelAndView updateIndividualA03TaskApplication(NisIndivQuery req) {
boolean saved = false;
String rtnMsg = nisIndivService.updateNisIndivA03TaskAplcn(req);

@ -2,12 +2,15 @@ package cokr.xit.fims.nxrp.web;
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.foundation.web.AbstractController;
import cokr.xit.fims.nxrp.NxrpMtchg;
import cokr.xit.fims.nxrp.NxrpMtchgQuery;
import cokr.xit.fims.nxrp.service.NxrpMtchgService;
import cokr.xit.fims.task.Task;
import cokr.xit.foundation.web.AbstractController;
/**
*
@ -19,6 +22,8 @@ import cokr.xit.fims.nxrp.service.NxrpMtchgService;
* ================================
* </pre>
*/
@Controller
@RequestMapping(name="세외수입 매핑", value=Nxrp03Controller.CLASS_URL)
public class Nxrp03Controller extends AbstractController {
public static final String CLASS_URL = "/nxrp/nxrp01";
@ -44,6 +49,8 @@ public class Nxrp03Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="세외수입 등록 연계 및 매핑 등록", value=METHOD_URL.createNonTaxReceiptLink)
public ModelAndView createNonTaxReceiptLink(NxrpMtchgQuery req) {
boolean saved = false;
String rtnMsg = nxrpMtchgService.createNxrpLink(req);
@ -66,6 +73,8 @@ public class Nxrp03Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="세외수입 조회 연계 및 매핑 수정", value=METHOD_URL.updateNonTaxReceiptLink)
public ModelAndView updateNonTaxReceiptLink(NxrpMtchgQuery req) {
boolean saved = false;
String rtnMsg = nxrpMtchgService.updateNxrpLink(req);
@ -88,6 +97,8 @@ public class Nxrp03Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="세외수입 매핑 내역 등록", value=METHOD_URL.createNonTaxReceiptMatching)
public ModelAndView createNonTaxReceiptMatching(NxrpMtchg nxrpMtchg) {
boolean saved = false;
String rtnMsg = nxrpMtchgService.createNxrpMtchg(nxrpMtchg);
@ -110,6 +121,8 @@ public class Nxrp03Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="세외수입 매핑 내역 수정", value=METHOD_URL.updateNonTaxReceiptMatching)
public ModelAndView updateNonTaxReceiptMatching(NxrpMtchg nxrpMtchg) {
boolean saved = false;
String rtnMsg = nxrpMtchgService.updateNxrpMtchg(nxrpMtchg);
@ -133,6 +146,8 @@ public class Nxrp03Controller extends AbstractController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="세외수입 매핑 내역 제거", value=METHOD_URL.removeNonTaxReceiptMatching)
public ModelAndView removeNonTaxReceiptMatching(NxrpMtchg nxrpMtchg) {
boolean saved = false;
String rtnMsg = nxrpMtchgService.removeNxrpMtchg(nxrpMtchg);

@ -1,86 +0,0 @@
package cokr.xit.fims.task.web;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.nxrp.NisIndivQuery;
import cokr.xit.fims.nxrp.NxrpMtchg;
import cokr.xit.fims.nxrp.NxrpMtchgQuery;
@Controller
public class DpvController {
public static final String CLASS_URL = "/DPV";
@Controller
@RequestMapping(name="장애인과태료업무 차세대 세외수입 연계", value=CLASS_URL+Nxrp01Controller.CLASS_URL)
class Nxrp01Controller extends cokr.xit.fims.nxrp.web.Nxrp01Controller {
@Override
@RequestMapping(name="차세대 세외수입 과태료 대장 단속 정보 등록", value=METHOD_URL.createIndividualA01)
public ModelAndView createIndividualA01(NisIndivQuery req) {
return super.createIndividualA01(req);
}
@Override
@RequestMapping(name="차세대 세외수입 과태료 대장 등록 자료 상세 조회", value=METHOD_URL.updateIndividualA02TaskApplication)
public ModelAndView updateIndividualA02TaskApplication(NisIndivQuery req) {
return super.updateIndividualA02TaskApplication(req);
}
@Override
@RequestMapping(name="차세대 세외수입 과태료 대장 등록 자료 상세 조회", value=METHOD_URL.updateIndividualA03TaskApplication)
public ModelAndView updateIndividualA03TaskApplication(NisIndivQuery req) {
return super.updateIndividualA03TaskApplication(req);
}
}
@Controller
@RequestMapping(name="장애인과태료업무 세외수입 매핑", value=CLASS_URL+Nxrp03Controller.CLASS_URL)
class Nxrp03Controller extends cokr.xit.fims.nxrp.web.Nxrp03Controller {
@Override
@RequestMapping(name="세외수입 등록 연계 및 매핑 등록", value=METHOD_URL.createNonTaxReceiptLink)
public ModelAndView createNonTaxReceiptLink(NxrpMtchgQuery req) {
return super.createNonTaxReceiptLink(req);
}
@Override
@RequestMapping(name="세외수입 조회 연계 및 매핑 수정", value=METHOD_URL.updateNonTaxReceiptLink)
public ModelAndView updateNonTaxReceiptLink(NxrpMtchgQuery req) {
return super.updateNonTaxReceiptLink(req);
}
@Override
@RequestMapping(name="세외수입 매핑 내역 등록", value=METHOD_URL.createNonTaxReceiptMatching)
public ModelAndView createNonTaxReceiptMatching(NxrpMtchg nxrpMtchg) {
return super.createNonTaxReceiptMatching(nxrpMtchg);
}
@Override
@RequestMapping(name="세외수입 매핑 내역 수정", value=METHOD_URL.updateNonTaxReceiptMatching)
public ModelAndView updateNonTaxReceiptMatching(NxrpMtchg nxrpMtchg) {
return super.updateNonTaxReceiptMatching(nxrpMtchg);
}
@Override
@RequestMapping(name="세외수입 매핑 내역 제거", value=METHOD_URL.removeNonTaxReceiptMatching)
public ModelAndView removeNonTaxReceiptMatching(NxrpMtchg nxrpMtchg) {
return super.removeNonTaxReceiptMatching(nxrpMtchg);
}
}
}
Loading…
Cancel
Save