컨트롤러 변경

main
이범준 1 year ago
parent 1e9a4fa982
commit 105749f02f

@ -5,68 +5,32 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
@Controller @Controller
public class BpvCrdnController { public class BpvCrdnController {
/** .<br />
* { }/crdn/crdn01 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전용차로과태료업무 민원업무", value="/BPV/crdn/crdn01")
class BpvCrdn01Controller extends Crdn01Controller { class BpvCrdn01Controller extends Crdn01Controller {
} }
/** .<br />
* { }/crdn/crdn02 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전용차로과태료업무 민원등록업무", value="/BPV/crdn/crdn02")
class BpvCrdn02Controller extends Crdn02Controller { class BpvCrdn02Controller extends Crdn02Controller {
} }
/** .<br />
* { }/crdn/crdn05 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전용차로과태료업무 단속등록업무", value="/BPV/crdn/crdn05")
class BpvCrdn05Controller extends Crdn05Controller { class BpvCrdn05Controller extends Crdn05Controller {
@RequestMapping(name="전용차로과태료업무 단속자료 파일 등록 화면", value="/020/BPV/info.do")
public ModelAndView getFileRegistrationScreen() {
return super.getFileRegistrationScreen();
}
@RequestMapping(name="전용차로과태료업무 단속자료 수기 등록 화면", value="/030/BPV/info.do")
public ModelAndView getManualRegistrationScreen() {
return super.getManualRegistrationScreen();
}
} }
/** .<br />
* { }/crdn/crdn06 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전용차로과태료업무 단속업무", value="/BPV/crdn/crdn06")
class BpvCrdn06Controller extends Crdn06Controller { class BpvCrdn06Controller extends Crdn06Controller {
@RequestMapping(name="전용차로과태료업무 단속자료 목록", value="/010/BPV/list.do")
public ModelAndView getCrackdownList(CrdnQuery req) {
return super.getCrackdownList(req);
}
@RequestMapping(name="전용차로과태료업무 검사자료 목록", value="/020/BPV/list.do")
public ModelAndView getInspectionDataList(CrdnQuery req) {
return super.getInspectionDataList(req);
}
@RequestMapping(name="전용차로과태료업무 과태료 감경 자료 목록", value="/040/BPV/list.do")
public ModelAndView getFineReductionDataList(CrdnQuery req) {
return super.getFineReductionDataList(req);
}
} }
} }

@ -13,6 +13,10 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.service.Crdn01Service; import cokr.xit.fims.crdn.service.Crdn01Service;
import cokr.xit.fims.crdn.service.bean.Crdn01ServiceBean; import cokr.xit.fims.crdn.service.bean.Crdn01ServiceBean;
/** .<br />
* { }/crdn/crdn01 .
* @author leebj
*/
@RequestMapping(name="민원 관리", value="/crdn/crdn01") @RequestMapping(name="민원 관리", value="/crdn/crdn01")
public class Crdn01Controller extends ApplicationController { public class Crdn01Controller extends ApplicationController {

@ -8,6 +8,10 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.service.Crdn02Service; import cokr.xit.fims.crdn.service.Crdn02Service;
/** .<br />
* { }/crdn/crdn02 .
* @author leebj
*/
@RequestMapping(name="민원 개별 등록", value="/crdn/crdn02") @RequestMapping(name="민원 개별 등록", value="/crdn/crdn02")
public class Crdn02Controller extends ApplicationController { public class Crdn02Controller extends ApplicationController {

@ -12,6 +12,10 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.web.ApplicationController; import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.service.Crdn05Service; import cokr.xit.fims.crdn.service.Crdn05Service;
/** .<br />
* { }/crdn/crdn05 .
* @author leebj
*/
@RequestMapping(name="단속 자료 등록", value="/crdn/crdn05") @RequestMapping(name="단속 자료 등록", value="/crdn/crdn05")
public class Crdn05Controller extends ApplicationController { public class Crdn05Controller extends ApplicationController {
@ -24,6 +28,7 @@ public class Crdn05Controller extends ApplicationController {
* @param * @param
* @return fims/crdn/crdn05020-info * @return fims/crdn/crdn05020-info
*/ */
@RequestMapping(name="단속자료 파일 등록 화면", value="/020/info.do")
public ModelAndView getFileRegistrationScreen() { public ModelAndView getFileRegistrationScreen() {
return new ModelAndView("fims/crdn/crdn05020-info"); return new ModelAndView("fims/crdn/crdn05020-info");
} }
@ -32,6 +37,7 @@ public class Crdn05Controller extends ApplicationController {
* @param * @param
* @return fims/crdn/crdn05030-info * @return fims/crdn/crdn05030-info
*/ */
@RequestMapping(name="단속자료 수기 등록 화면", value="/030/info.do")
public ModelAndView getManualRegistrationScreen() { public ModelAndView getManualRegistrationScreen() {
ModelAndView mav = new ModelAndView("fims/crdn/crdn05030-info"); ModelAndView mav = new ModelAndView("fims/crdn/crdn05030-info");

@ -13,6 +13,10 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.service.Crdn06Service; import cokr.xit.fims.crdn.service.Crdn06Service;
/** .<br />
* { }/crdn/crdn06 .
* @author leebj
*/
@RequestMapping(name="단속 관리", value="/crdn/crdn06") @RequestMapping(name="단속 관리", value="/crdn/crdn06")
public class Crdn06Controller extends ApplicationController { public class Crdn06Controller extends ApplicationController {
@ -32,6 +36,7 @@ public class Crdn06Controller extends ApplicationController {
* "crdnTotal": * "crdnTotal":
* }</code></pre> * }</code></pre>
*/ */
@RequestMapping(name="단속자료 목록", value="/010/list.do")
public ModelAndView getCrackdownList(CrdnQuery req) { public ModelAndView getCrackdownList(CrdnQuery req) {
setFetchSize(req); setFetchSize(req);
return setCollectionInfo( return setCollectionInfo(
@ -52,6 +57,7 @@ public class Crdn06Controller extends ApplicationController {
* "crdnTotal": * "crdnTotal":
* }</code></pre> * }</code></pre>
*/ */
@RequestMapping(name="검사자료 목록", value="/020/list.do")
public ModelAndView getInspectionDataList(CrdnQuery req) { public ModelAndView getInspectionDataList(CrdnQuery req) {
switch(req.getInspectionDataType()) { switch(req.getInspectionDataType()) {
case "photo" -> req.setGrid("photo"); case "photo" -> req.setGrid("photo");
@ -77,6 +83,7 @@ public class Crdn06Controller extends ApplicationController {
* "crdnTotal": * "crdnTotal":
* }</code></pre> * }</code></pre>
*/ */
@RequestMapping(name="감경자료 목록", value="/040/list.do")
public ModelAndView getFineReductionDataList(CrdnQuery req) { public ModelAndView getFineReductionDataList(CrdnQuery req) {
req.setGrid("fineReductionData"); req.setGrid("fineReductionData");
setFetchSize(req); setFetchSize(req);

@ -19,63 +19,30 @@ import cokr.xit.fims.crdn.service.Crdn06Service;
@Controller @Controller
public class DpvCrdnController { public class DpvCrdnController {
/** .<br />
* { }/crdn/crdn01 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="장애인과태료업무 민원업무", value="/DPV/crdn/crdn01")
class DpvCrdn01Controller extends Crdn01Controller { class DpvCrdn01Controller extends Crdn01Controller {
} }
/** .<br />
* { }/crdn/crdn02 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="장애인과태료업무 민원등록업무", value="/DPV/crdn/crdn02")
class DpvCrdn02Controller extends Crdn02Controller { class DpvCrdn02Controller extends Crdn02Controller {
} }
/** .<br />
* { }/crdn/crdn05 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="장애인과태료업무 단속등록업무", value="/DPV/crdn/crdn05")
class DpvCrdn05Controller extends Crdn05Controller { class DpvCrdn05Controller extends Crdn05Controller {
@RequestMapping(name="장애인과태료업무 단속자료 파일 등록 화면", value="/020/DPV/info.do")
public ModelAndView getFileRegistrationScreen() {
return super.getFileRegistrationScreen();
}
@RequestMapping(name="장애인과태료업무 단속자료 수기 등록 화면", value="/030/DPV/info.do")
public ModelAndView getManualRegistrationScreen() {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM006");
return super.getManualRegistrationScreen().addObject("FIM006List", commonCodes.get("FIM006"));
}
} }
/** .<br />
* { }/crdn/crdn06 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="장애인과태료업무 단속업무", value="/DPV/crdn/crdn06")
class DpvCrdn06Controller extends Crdn06Controller { class DpvCrdn06Controller extends Crdn06Controller {
@Resource(name="crdn06Service") @Resource(name="crdn06Service")
private Crdn06Service crdn06Service; private Crdn06Service crdn06Service;
@RequestMapping(name="장애인과태료업무 단속자료 목록", value="010/DPV/list.do")
public ModelAndView getCrackdownList(CrdnQuery req) {
return super.getCrackdownList(req);
}
@RequestMapping(name="장애인과태료업무 검사자료 목록", value="/020/DPV/list.do")
public ModelAndView getInspectionDataList(CrdnQuery req) {
return super.getInspectionDataList(req);
}
/** .<br /> /** .<br />
* {@link Crdn06Service#getCrackdownList(CrdnQuery)} * {@link Crdn06Service#getCrackdownList(CrdnQuery)}
* @param req * @param req
@ -87,7 +54,7 @@ public class DpvCrdnController {
* "crdnTotal": * "crdnTotal":
* }</code></pre> * }</code></pre>
*/ */
@RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value="/030/DPV/list.do") @RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value="/030/list.do")
public ModelAndView getTagInformationUndefinedDataList(CrdnQuery req) { public ModelAndView getTagInformationUndefinedDataList(CrdnQuery req) {
req.setGrid("tagInformationUndefinedData"); req.setGrid("tagInformationUndefinedData");
setFetchSize(req); setFetchSize(req);
@ -105,7 +72,7 @@ public class DpvCrdnController {
* "saved": true, false * "saved": true, false
* }</code></pre> * }</code></pre>
*/ */
@PostMapping(name = "단속 대장 수정", value = "/030/DPV/update.do") @PostMapping(name = "단속 대장 수정", value = "/030/update.do")
public ModelAndView update(Crdn crdn) { public ModelAndView update(Crdn crdn) {
crdn.setUpdateInfomation("tagInformationUndefinedData"); crdn.setUpdateInfomation("tagInformationUndefinedData");
boolean saved = crdn06Service.update(crdn); boolean saved = crdn06Service.update(crdn);
@ -113,12 +80,6 @@ public class DpvCrdnController {
.addObject("saved", saved); .addObject("saved", saved);
} }
@RequestMapping(name="장애인과태료업무 과태료 감경 자료 목록", value="/040/DPV/list.do")
public ModelAndView getFineReductionDataList(CrdnQuery req) {
return super.getFineReductionDataList(req);
}
} }
} }

@ -8,63 +8,28 @@ import cokr.xit.fims.crdn.CrdnQuery;
@Controller @Controller
public class EcaCrdnController { public class EcaCrdnController {
/** .<br />
* { }/crdn/crdn01 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전기차과태료업무 민원업무", value="/ECA/crdn/crdn01")
class EcaCrdn01Controller extends Crdn01Controller { class EcaCrdn01Controller extends Crdn01Controller {
} }
/** .<br />
* { }/crdn/crdn02 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전기차과태료업무 민원등록업무", value="/ECA/crdn/crdn02")
class EcaCrdn02Controller extends Crdn02Controller { class EcaCrdn02Controller extends Crdn02Controller {
} }
/** .<br />
* { }/crdn/crdn05 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전기차과태료업무 단속등록업무", value="/ECA/crdn/crdn05")
class EcaCrdn05Controller extends Crdn05Controller { class EcaCrdn05Controller extends Crdn05Controller {
@RequestMapping(name="전기차과태료업무 단속자료 파일 등록 화면", value="/020/ECA/info.do")
public ModelAndView getFileRegistrationScreen() {
return super.getFileRegistrationScreen();
}
@RequestMapping(name="전기차과태료업무 단속자료 수기 등록 화면", value="/030/ECA/info.do")
public ModelAndView getManualRegistrationScreen() {
return super.getManualRegistrationScreen();
}
} }
/** .<br />
* { }/crdn/crdn06 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="전기차과태료업무 단속업무", value="/ECA/crdn/crdn06")
class EcaCrdn06Controller extends Crdn06Controller { class EcaCrdn06Controller extends Crdn06Controller {
@RequestMapping(name="전기차과태료업무 단속자료 목록", value="/010/ECA/list.do")
public ModelAndView getCrackdownList(CrdnQuery req) {
return super.getCrackdownList(req);
}
@RequestMapping(name="전기차과태료업무 검사자료 목록", value="/020/ECA/list.do")
public ModelAndView getInspectionDataList(CrdnQuery req) {
return super.getInspectionDataList(req);
}
@RequestMapping(name="전기차과태료업무 과태료 감경 자료 목록", value="/040/ECA/list.do")
public ModelAndView getFineReductionDataList(CrdnQuery req) {
return super.getFineReductionDataList(req);
}
} }
} }

@ -8,64 +8,28 @@ import cokr.xit.fims.crdn.CrdnQuery;
@Controller @Controller
public class PvsCrdnController { public class PvsCrdnController {
/** .<br />
* { }/crdn/crdn01 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="주정차과태료업무 민원업무", value="/PVS/crdn/crdn01")
class PvsCrdn01Controller extends Crdn01Controller { class PvsCrdn01Controller extends Crdn01Controller {
} }
/** .<br />
* { }/crdn/crdn02 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="주정차과태료업무 민원등록업무", value="/PVS/crdn/crdn02")
class PvsCrdn02Controller extends Crdn02Controller { class PvsCrdn02Controller extends Crdn02Controller {
} }
/** .<br />
* { }/crdn/crdn05 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="주정차과태료업무 단속등록업무", value="/PVS/crdn/crdn05")
class PvsCrdn05Controller extends Crdn05Controller { class PvsCrdn05Controller extends Crdn05Controller {
@RequestMapping(name="주정차과태료업무 단속자료 파일 등록 화면", value="/020/PVS/info.do")
public ModelAndView getFileRegistrationScreen() {
return super.getFileRegistrationScreen();
}
@RequestMapping(name="주정차과태료업무 단속자료 수기 등록 화면", value="/030/PVS/info.do")
public ModelAndView getManualRegistrationScreen() {
return super.getManualRegistrationScreen();
}
} }
/** .<br />
* { }/crdn/crdn06 .
* @author leebj
*/
@Controller @Controller
@RequestMapping(name="주정차과태료업무 단속업무", value="/PVS/crdn/crdn06")
class PvsCrdn06Controller extends Crdn06Controller { class PvsCrdn06Controller extends Crdn06Controller {
@RequestMapping(name="주정차과태료업무 단속자료 목록", value="/010/PVS/list.do")
public ModelAndView getCrackdownList(CrdnQuery req) {
return super.getCrackdownList(req);
}
@RequestMapping(name="주정차과태료업무 검사자료 목록", value="/020/PVS/list.do")
public ModelAndView getInspectionDataList(CrdnQuery req) {
return super.getInspectionDataList(req);
}
@RequestMapping(name="주정차과태료업무 과태료 감경 자료 목록", value="/040/PVS/list.do")
public ModelAndView getFineReductionDataList(CrdnQuery req) {
return super.getFineReductionDataList(req);
}
} }
} }

@ -183,8 +183,8 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => { $P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset(); $P.fnReset();
$P.crdnControl.urls.load = wctx.url("/crdn/crdn01/010/"+ taskSeCd +"/list.do"); $P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn01/010/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/crdn/crdn01/020/"+ taskSeCd +"/info.do"); $P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/crdn/crdn01/020/info.do");
} }
$P.searchCrdnList = () => { $P.searchCrdnList = () => {

@ -185,8 +185,8 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => { $P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset(); $P.fnReset();
$P.crdnControl.urls.load = wctx.url("/crdn/crdn01/010/"+ taskSeCd +"/list.do"); $P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn01/010/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/crdn/crdn01/020/"+ taskSeCd +"/info.do"); $P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/crdn/crdn01/020/info.do");
} }
$P.searchCrdnList = () => { $P.searchCrdnList = () => {

@ -113,8 +113,8 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => { $P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset(); $P.fnReset();
$P.crdnControl.urls.newInfoByFile = wctx.url("/crdn/crdn05/020/"+ taskSeCd +"/info.do"); $P.crdnControl.urls.newInfoByFile = wctx.url("/"+taskSeCd+"/crdn/crdn05/020/info.do");
$P.crdnControl.urls.newInfoByHand = wctx.url("/crdn/crdn05/030/"+ taskSeCd +"/info.do"); $P.crdnControl.urls.newInfoByHand = wctx.url("/"+taskSeCd+"/crdn/crdn05/030/info.do");
} }
var defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val(); var defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();

@ -358,8 +358,8 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => { $P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset(); $P.fnReset();
$P.crdnControl.urls.load = wctx.url("/crdn/crdn06/010/"+ taskSeCd +"/list.do"); $P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn06/010/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/sprt/sprt01/020/"+ taskSeCd +"/info.do"); $P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
var cssForTask = taskSeCd.toLowerCase(); var cssForTask = taskSeCd.toLowerCase();

@ -435,12 +435,12 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => { $P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset(); $P.fnReset();
$P.photoInspectionControl.urls.load = wctx.url("/crdn/crdn06/020/"+ taskSeCd +"/list.do?inspectionDataType=photo"); $P.photoInspectionControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn06/020/list.do?inspectionDataType=photo");
$P.photoInspectionControl.urls.getInfo = wctx.url("/sprt/sprt01/020/"+ taskSeCd +"/info.do"); $P.photoInspectionControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
$P.sameVehicleControl.main.urls.load = wctx.url("/crdn/crdn06/020/"+ taskSeCd +"/list.do?inspectionDataType=sameVehicleMain"); $P.sameVehicleControl.main.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn06/020/list.do?inspectionDataType=sameVehicleMain");
$P.sameVehicleControl.main.urls.getInfo = ""; $P.sameVehicleControl.main.urls.getInfo = "";
$P.sameVehicleControl.sub.urls.load = wctx.url("/crdn/crdn06/020/"+ taskSeCd +"/list.do?inspectionDataType=sameVehicleSub"); $P.sameVehicleControl.sub.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn06/020/list.do?inspectionDataType=sameVehicleSub");
$P.sameVehicleControl.sub.urls.getInfo = wctx.url("/sprt/sprt01/020/"+ taskSeCd +"/info.do"); $P.sameVehicleControl.sub.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
var cssForTask = taskSeCd.toLowerCase(); var cssForTask = taskSeCd.toLowerCase();

@ -128,9 +128,9 @@ $(document).ready(function(){
$P.crdnControl = new DatasetControl({ $P.crdnControl = new DatasetControl({
prefix:"crdn", prefixName:"종합", infoSize:"xl", prefix:"crdn", prefixName:"종합", infoSize:"xl",
urls : { urls : {
load : wctx.url("/crdn/crdn06/030/DPV/list.do"), load : wctx.url("/DPV/crdn/crdn06/030/list.do"),
getInfo : wctx.url("/sprt/sprt01/020/DPV/info.do"), getInfo : wctx.url("/DPV/sprt/sprt01/020/info.do"),
update: wctx.url("/crdn/crdn06/030/DPV/update.do") update: wctx.url("/DPV/crdn/crdn06/030/update.do")
}, },
formats: { formats: {
CRDN_INPT_SE_CD : FIM003, CRDN_INPT_SE_CD : FIM003,

@ -173,8 +173,8 @@ $(document).ready(function(){
$P.fnResetAndChangeBiz = taskSeCd => { $P.fnResetAndChangeBiz = taskSeCd => {
$P.fnReset(); $P.fnReset();
$P.crdnControl.urls.load = wctx.url("/crdn/crdn06/040/"+ taskSeCd +"/list.do"); $P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn06/040/list.do");
$P.crdnControl.urls.getInfo = wctx.url("/sprt/sprt01/020/"+ taskSeCd +"/info.do"); $P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do");
} }
$P.searchCrdnList = () => { $P.searchCrdnList = () => {

Loading…
Cancel
Save