소스정리

main
이범준 1 year ago
parent 7ced42c1ba
commit 224fe92879

@ -24,7 +24,9 @@ public class Crdn02Controller extends ApplicationController {
public class METHOD_URL {
public static final String
crackdownDataInspectionMain = "/010/main.do",
getInspectionDataList = "/020/list.do"
getInspectionDataList = "/020/list.do",
getOverTimeInfo = "/050/info.do",
updateOverTimeInfo = "/050/update.do"
;
}

@ -22,7 +22,9 @@ public class Crdn03Controller extends ApplicationController {
public class METHOD_URL {
public static final String
tagInformationUndefinedDataMain = "/010/main.do"
tagInformationUndefinedDataMain = "/010/main.do",
getTagInformationUndefinedDataList = "/030/list.do",
updateTagInfo = "/030/update.do"
;
}

@ -4,7 +4,6 @@ import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
@ -206,7 +205,7 @@ public class DpvController {
* @param req
* @return jsonView
*/
@RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value="/030/list.do")
@RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value=METHOD_URL.getTagInformationUndefinedDataList)
public ModelAndView getTagInformationUndefinedDataList(CrdnQuery query) {
query.setGridType("tagInformationUndefinedData");
setFetchSize(query);
@ -220,7 +219,7 @@ public class DpvController {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "표지정보 미확인 자료 수정", value = "/030/update.do")
@RequestMapping(name = "표지정보 미확인 자료 수정", value=METHOD_URL.updateTagInfo)
public ModelAndView update(Crdn crdn) {
boolean saved = crdnService.updateTagInfo(crdn);
return new ModelAndView("jsonView")

@ -4,7 +4,6 @@ import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
@ -205,7 +204,7 @@ public class PvsController {
* @param crdnId ID
* @return crdn02050-info
*/
@RequestMapping(name="2시간 초과 처리 화면 호출", value="/050/info.do")
@RequestMapping(name="2시간 초과 처리 화면 호출", value=METHOD_URL.getOverTimeInfo)
public ModelAndView getOverTimeInfo(String openerPageName, String savedCallbackFuncName, String crdnId) {
ModelAndView mav = new ModelAndView();
@ -227,7 +226,7 @@ public class PvsController {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "2시간 초과 정보 수정", value = "/050/update.do")
@RequestMapping(name = "2시간 초과 정보 수정", value=METHOD_URL.updateOverTimeInfo)
public ModelAndView updateOverTimeInfo(String chgAmtSe, String crdnId) {
boolean saved = crdnService.updateOverTimeInfo(chgAmtSe, crdnId);
return new ModelAndView("jsonView")

Loading…
Cancel
Save