소스정리

main
이범준 7 months ago
parent 4f1f95c272
commit 65ba44d59e

@ -15,6 +15,7 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.payer.Payer;
import cokr.xit.fims.payer.PayerQuery;
import cokr.xit.fims.payer.service.PayerService;
import cokr.xit.fims.task.Task;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.interfaces.lvis.service.reg.BasicInfoRequest;
@ -29,6 +30,7 @@ import cokr.xit.interfaces.lvis.service.reg.BasicInfoRequest;
* </pre>
*/
@Controller
@RequestMapping(name="납부자", value="/payer")
public class PayerController extends ApplicationController {
public class METHOD_URL {
@ -51,6 +53,7 @@ public class PayerController extends ApplicationController {
* {@link #getPayerList(PayerQuery) } .
* @return /payer/payer-main
*/
@Task("CMN")
@RequestMapping(name = "납부자 메인", value = "/main.do")
public ModelAndView main() {
ModelAndView mav = getPayerList(new PayerQuery().setPageNum(1));
@ -69,7 +72,8 @@ public class PayerController extends ApplicationController {
* "payerTotal":
* }</code></pre>
*/
@RequestMapping(name = "납부자 조회", value = "/list.do")
@Task("CMN")
@RequestMapping(name = "납부자 목록 조회", value = "/list.do")
public ModelAndView getPayerList(PayerQuery req) {
List<?> result = payerService.getPayerList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "payer");
@ -82,6 +86,7 @@ public class PayerController extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@Task("CMN")
@PostMapping(name = "납부자 등록", value = "/create.do")
public ModelAndView create(Payer payer) {
boolean saved = payerService.create(payer);
@ -96,6 +101,7 @@ public class PayerController extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@Task("CMN")
@PostMapping(name = "납부자 수정", value = "/update.do")
public ModelAndView update(Payer payer) {
boolean saved = payerService.update(payer);
@ -111,6 +117,7 @@ public class PayerController extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@Task("CMN")
@PostMapping(name = "납부자 제거", value = "/remove.do")
public ModelAndView remove(String... rtpyrIds) {
int affected = payerService.remove(rtpyrIds);
@ -119,6 +126,7 @@ public class PayerController extends ApplicationController {
.addObject("saved", affected > 0);
}
@Task("CMN")
@PostMapping(name = "차량/납부자 조회", value = "/vehicle.do")
public ModelAndView getVehicleOwner(BasicInfoRequest req) {
Payer payer = payerService.getVehicleOwner(req);
@ -136,6 +144,8 @@ public class PayerController extends ApplicationController {
* "payerInfo":
* }</pre>
*/
@Task
@RequestMapping(name="납부자 정보 조회", value=METHOD_URL.getPayerInfo)
public ModelAndView getPayerInfo(PayerQuery req) {
DataObject payerInfo = payerService.getPayerInfo(req);
@ -162,6 +172,8 @@ public class PayerController extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
@Task
@RequestMapping(name="단속 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createCrdnPayer(Payer payer) {
boolean saved = false;
String rtnMsg = payerService.createCrdnPayer(payer);
@ -185,6 +197,8 @@ public class PayerController extends ApplicationController {
* "payerHstryList": [ ]
* }</code></pre>
*/
@Task
@RequestMapping(name="납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
List<?> result = payerService.getPayerHstrys(req);

@ -1,59 +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.payer.Payer;
import cokr.xit.fims.payer.PayerQuery;
@Controller
public class BpvController {
public static final String CLASS_URL = "/BPV";
@Controller
@RequestMapping(name="전용차로과태료업무 납부자", value=CLASS_URL+"/payer")
class PayerController extends cokr.xit.fims.payer.web.PayerController {
@Override
@RequestMapping(name="전용차로과태료업무 납부자 등록", value=METHOD_URL.create)
public ModelAndView create(Payer payer) {
return super.create(payer);
}
@Override
@RequestMapping(name="전용차로과태료업무 납부자 수정", value=METHOD_URL.update)
public ModelAndView update(Payer payer) {
return super.update(payer);
}
@Override
@RequestMapping(name="전용차로과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo)
public ModelAndView getPayerInfo(PayerQuery req) {
return super.getPayerInfo(req);
}
@Override
@RequestMapping(name="전용차로과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createCrdnPayer(Payer payer) {
return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="전용차로과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
}
}
}

@ -113,7 +113,6 @@ public class CmnController {
@Controller
@RequestMapping(name="통계", value=Stat01Controller.CLASS_URL)
class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller {
@ -360,11 +359,7 @@ public class CmnController {
}
@Controller
@RequestMapping(name="납부자", value="/payer")
class PayerController extends cokr.xit.fims.payer.web.PayerController {
}
@Controller
@RequestMapping(name="설정관리", value=StngController.CLASS_URL)

@ -11,8 +11,6 @@ import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.nxrp.NisIndivQuery;
import cokr.xit.fims.nxrp.NxrpMtchg;
import cokr.xit.fims.nxrp.NxrpMtchgQuery;
import cokr.xit.fims.payer.Payer;
import cokr.xit.fims.payer.PayerQuery;
import cokr.xit.fims.rcvm.Rcvmt;
import cokr.xit.fims.rcvm.RcvmtQuery;
import cokr.xit.fims.sndb.SndbQuery;
@ -427,40 +425,6 @@ public class DpvController {
}
@Controller
@RequestMapping(name="장애인과태료업무 납부자", value=CLASS_URL+"/payer")
class PayerController extends cokr.xit.fims.payer.web.PayerController {
@Override
@RequestMapping(name="장애인과태료업무 납부자 등록", value=METHOD_URL.create)
public ModelAndView create(Payer payer) {
return super.create(payer);
}
@Override
@RequestMapping(name="장애인과태료업무 납부자 수정", value=METHOD_URL.update)
public ModelAndView update(Payer payer) {
return super.update(payer);
}
@Override
@RequestMapping(name="장애인과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo)
public ModelAndView getPayerInfo(PayerQuery req) {
return super.getPayerInfo(req);
}
@Override
@RequestMapping(name="장애인과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createCrdnPayer(Payer payer) {
return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="장애인과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
}
}
}

@ -1,56 +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.payer.Payer;
import cokr.xit.fims.payer.PayerQuery;
@Controller
public class EcaController {
public static final String CLASS_URL = "/ECA";
@Controller
@RequestMapping(name="전기차과태료업무 납부자", value=CLASS_URL+"/payer")
class PayerController extends cokr.xit.fims.payer.web.PayerController {
@Override
@RequestMapping(name="전기차과태료업무 납부자 등록", value=METHOD_URL.create)
public ModelAndView create(Payer payer) {
return super.create(payer);
}
@Override
@RequestMapping(name="전기차과태료업무 납부자 수정", value=METHOD_URL.update)
public ModelAndView update(Payer payer) {
return super.update(payer);
}
@Override
@RequestMapping(name="전기차과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo)
public ModelAndView getPayerInfo(PayerQuery req) {
return super.getPayerInfo(req);
}
@Override
@RequestMapping(name="전기차과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createCrdnPayer(Payer payer) {
return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="전기차과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
}
}
}

@ -1,59 +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.payer.Payer;
import cokr.xit.fims.payer.PayerQuery;
@Controller
public class PvsController {
public static final String CLASS_URL = "/PVS";
@Controller
@RequestMapping(name="주정차과태료업무 납부자", value=CLASS_URL+"/payer")
class PayerController extends cokr.xit.fims.payer.web.PayerController {
@Override
@RequestMapping(name="주정차과태료업무 납부자 등록", value=METHOD_URL.create)
public ModelAndView create(Payer payer) {
return super.create(payer);
}
@Override
@RequestMapping(name="주정차과태료업무 납부자 수정", value=METHOD_URL.update)
public ModelAndView update(Payer payer) {
return super.update(payer);
}
@Override
@RequestMapping(name="주정차과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo)
public ModelAndView getPayerInfo(PayerQuery req) {
return super.getPayerInfo(req);
}
@Override
@RequestMapping(name="주정차과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createCrdnPayer(Payer payer) {
return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="주정차과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
}
}
}
Loading…
Cancel
Save