You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
3.5 KiB
Java

package cokr.xit.fims.task.web;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.service.CrdnService;
import cokr.xit.fims.crdn.service.bean.Crdn06Bean;
@Controller
public class DpvController {
@Controller
@RequestMapping(name="장애인과태료업무 민원업무", value="/DPV/crdn/crdn01")
class Crdn01Controller extends cokr.xit.fims.crdn.web.Crdn01Controller {}
@Controller
@RequestMapping(name="장애인과태료업무 민원등록업무", value="/DPV/crdn/crdn02")
class Crdn02Controller extends cokr.xit.fims.crdn.web.Crdn02Controller {}
@Controller
@RequestMapping(name="장애인과태료업무 단속등록업무", value="/DPV/crdn/crdn05")
class Crdn05Controller extends cokr.xit.fims.crdn.web.Crdn05Controller {}
@Controller
@RequestMapping(name="장애인과태료업무 단속업무", value="/DPV/crdn/crdn06")
class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller {
@Resource(name="crdn06Service")
private CrdnService crdn06Service;
@Resource(name="crdn06Bean")
private Crdn06Bean crdn06Bean;
/** .<br />
* {@link Crdn06Service#getCrackdownList(CrdnQuery)}
* @param req
* @return jsonView
* <pre><code> {
* "crdnList": [ ],
* "crdnStart": ,
* "crdnFetchTotal": ,
* "crdnTotal":
* }</code></pre>
*/
@RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value="/030/list.do")
public ModelAndView getTagInformationUndefinedDataList(CrdnQuery req) {
req.setGrid("tagInformationUndefinedData");
setFetchSize(req);
return setCollectionInfo(
new ModelAndView("jsonView"),
crdn06Service.getCrackdownList(req),
"crdn"
);
}
/** .
* @param crdn
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "단속 대장 수정", value = "/030/update.do")
public ModelAndView update(Crdn crdn) {
crdn.setUpdateInfomation("tagInformationUndefinedData");
boolean saved = crdn06Bean.update(crdn);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
}
@Controller
@RequestMapping(name="장애인과태료업무 부과제외 - 부과제외관리", value="/DPV/excl/excl01")
class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {}
@Controller
@RequestMapping(name="장애인과태료업무 부과제외 - 의견제출 관리", value="/DPV/excl/excl02")
class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {}
@Controller
@RequestMapping(name="장애인과태료업무 부과제외 - 재등록 관리", value="/DPV/excl/excl03")
class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {}
@Controller
@RequestMapping(name="장애인과태료업무 업무지원", value="/DPV/sprt/sprt01/")
class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {}
}