|
|
@ -4,6 +4,7 @@ package kr.xit.fims.biz.cmm.fimsTotalPopup.web;
|
|
|
|
import kr.xit.fims.biz.cmm.FimsConst;
|
|
|
|
import kr.xit.fims.biz.cmm.FimsConst;
|
|
|
|
import kr.xit.fims.biz.cmm.fimsTotalPopup.model.FimsTotalPopupVO;
|
|
|
|
import kr.xit.fims.biz.cmm.fimsTotalPopup.model.FimsTotalPopupVO;
|
|
|
|
import kr.xit.fims.biz.cmm.fimsTotalPopup.service.FimsTotalPopupService;
|
|
|
|
import kr.xit.fims.biz.cmm.fimsTotalPopup.service.FimsTotalPopupService;
|
|
|
|
|
|
|
|
import kr.xit.framework.core.constants.FrameworkConstants;
|
|
|
|
import kr.xit.framework.core.message.XitMessageSource;
|
|
|
|
import kr.xit.framework.core.message.XitMessageSource;
|
|
|
|
import kr.xit.framework.core.validation.XitBeanValidator;
|
|
|
|
import kr.xit.framework.core.validation.XitBeanValidator;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
@ -45,7 +46,7 @@ public class FimsTotalPopupController {
|
|
|
|
* @author: 최정민
|
|
|
|
* @author: 최정민
|
|
|
|
* @date: 2022. 9. 20.
|
|
|
|
* @date: 2022. 9. 20.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@GetMapping(value = "/fimsTotalPopup.do")
|
|
|
|
@GetMapping(value = "/fimsTotalPopup")
|
|
|
|
public String popup(@RequestParam String selectedId, FimsTotalPopupVO vo, Model model){
|
|
|
|
public String popup(@RequestParam String selectedId, FimsTotalPopupVO vo, Model model){
|
|
|
|
|
|
|
|
|
|
|
|
vo.setReglt_id(selectedId);
|
|
|
|
vo.setReglt_id(selectedId);
|
|
|
@ -59,11 +60,11 @@ public class FimsTotalPopupController {
|
|
|
|
return FimsConst.FIMS_JSP_BASE_PATH
|
|
|
|
return FimsConst.FIMS_JSP_BASE_PATH
|
|
|
|
+"common/popup/fimsTotal"
|
|
|
|
+"common/popup/fimsTotal"
|
|
|
|
+"_"+new Object() {}.getClass().getEnclosingMethod().getName()
|
|
|
|
+"_"+new Object() {}.getClass().getEnclosingMethod().getName()
|
|
|
|
+".popup"; //메소드명
|
|
|
|
+".fims-pop"; //메소드명
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PutMapping(value="update.do")
|
|
|
|
@PutMapping(value="/update")
|
|
|
|
public String update(@RequestBody FimsTotalPopupVO vo, FimsTotalPopupVO fimsTotalPopupVO, BindingResult bindingResult){
|
|
|
|
public String update(@RequestBody FimsTotalPopupVO vo, FimsTotalPopupVO fimsTotalPopupVO, BindingResult bindingResult){
|
|
|
|
|
|
|
|
|
|
|
|
xitBeanValidator.validate(vo, bindingResult);
|
|
|
|
xitBeanValidator.validate(vo, bindingResult);
|
|
|
@ -71,12 +72,12 @@ public class FimsTotalPopupController {
|
|
|
|
fimsTotalPopupService.modifyProc(vo);
|
|
|
|
fimsTotalPopupService.modifyProc(vo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return "jsonView";
|
|
|
|
return FrameworkConstants.JSON_VIEW;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@DeleteMapping(value="delete.do")
|
|
|
|
@DeleteMapping(value="delete.do")
|
|
|
|
public String delete(){
|
|
|
|
public String delete(){
|
|
|
|
return "jsonView";
|
|
|
|
return FrameworkConstants.JSON_VIEW;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|