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.

91 lines
3.5 KiB
Java

package cokr.xit.fims.task.web;
1 year ago
import java.util.HashMap;
import java.util.Map;
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;
@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="crdnService")
private CrdnService crdnService;
/** .<br />
* {@link CrdnService#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.setGridType("tagInformationUndefinedData");
setFetchSize(req);
return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(req),"");
}
/** .
* @param crdn
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
1 year ago
@PostMapping(name = "표지정보 미확인 자료 수정", value = "/030/update.do")
public ModelAndView update(Crdn crdn) {
1 year ago
Map<String, Object> nonQueryRequest = new HashMap<String, Object>();
nonQueryRequest.put("updateInfomation", "tagInformationUndefinedData");
boolean saved = crdnService.update(nonQueryRequest, crdn, null);
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 {}
}