|
|
@ -1,15 +1,21 @@
|
|
|
|
package kr.xit.fims.biz.rt.web;
|
|
|
|
package kr.xit.fims.biz.rt.web;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import kr.xit.fims.biz.FimsConst;
|
|
|
|
import kr.xit.fims.biz.FimsConst;
|
|
|
|
import kr.xit.fims.biz.rt.model.RtDTO;
|
|
|
|
import kr.xit.fims.biz.rt.model.RtDTO;
|
|
|
|
import kr.xit.fims.biz.rt.service.IRtCrackdownMgtService;
|
|
|
|
import kr.xit.fims.biz.rt.service.IRtCrackdownMgtService;
|
|
|
|
import kr.xit.framework.core.constants.FrameworkConstants;
|
|
|
|
import kr.xit.framework.core.constants.FrameworkConstants;
|
|
|
|
|
|
|
|
import kr.xit.framework.core.model.ResultResponse;
|
|
|
|
import kr.xit.framework.core.validation.XitBeanValidator;
|
|
|
|
import kr.xit.framework.core.validation.XitBeanValidator;
|
|
|
|
|
|
|
|
import kr.xit.framework.support.mybatis.MybatisUtils;
|
|
|
|
import kr.xit.framework.support.util.AjaxMessageMapRenderer;
|
|
|
|
import kr.xit.framework.support.util.AjaxMessageMapRenderer;
|
|
|
|
import kr.xit.framework.support.util.Checks;
|
|
|
|
import kr.xit.framework.support.util.Checks;
|
|
|
|
import kr.xit.framework.support.util.constants.MessageKey;
|
|
|
|
import kr.xit.framework.support.util.constants.MessageKey;
|
|
|
@ -62,6 +68,16 @@ public class RtCrackdownMgtController {
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/findRtReglts")
|
|
|
|
|
|
|
|
public ModelAndView findRtReglts(@RequestParam final Map<String,Object> paraMap) {
|
|
|
|
|
|
|
|
//new RtDTO.Reglt();
|
|
|
|
|
|
|
|
return ResultResponse.of(service.findRtReglts(paraMap, MybatisUtils.getPagingInfo(paraMap)));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/findRtReglt")
|
|
|
|
|
|
|
|
public ModelAndView findRtReglt(final String regltId) {
|
|
|
|
|
|
|
|
return ResultResponse.of(service.findRtReglt(regltId));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping(value="/addRtReglt")
|
|
|
|
@PostMapping(value="/addRtReglt")
|
|
|
|
public ModelAndView addRtReglt(RtDTO.Reglt dto){
|
|
|
|
public ModelAndView addRtReglt(RtDTO.Reglt dto){
|
|
|
@ -90,4 +106,8 @@ public class RtCrackdownMgtController {
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/findRtRegltAttchFiles")
|
|
|
|
|
|
|
|
public ModelAndView findRtRegltAttchFiles(final RtDTO.Request dto) {
|
|
|
|
|
|
|
|
return ResultResponse.of(service.findRtRegltAttchFiles(dto));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|