기타 수정.

main
JoJH 2 weeks ago
parent a66ff8b20c
commit bae094980f

@ -333,9 +333,8 @@ public class Crdn06Controller extends ApplicationController {
} }
return mav return mav
.addObject("pageName", "crdn06020") // jsp pageName .addObject("pageName", "crdn06020") // jsp pageName
.addObject("infoPrefix", "crdn") // prefix .addObject("prefixUrl", CLASS_URL) // prefixUrl
.addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
.addObject("crdnInfo", json ? crdnInfo : toJson(crdnInfo)) .addObject("crdnInfo", json ? crdnInfo : toJson(crdnInfo))
; ;
} }
@ -375,21 +374,19 @@ public class Crdn06Controller extends ApplicationController {
@Task @Task
@RequestMapping(name="단속자료 상태 조회", value=METHOD_URL.getCrackdownStatusInfo) @RequestMapping(name="단속자료 상태 조회", value=METHOD_URL.getCrackdownStatusInfo)
public ModelAndView getCrackdownStatusInfo(HttpServletRequest hReq, CrdnQuery query) { public ModelAndView getCrackdownStatusInfo(HttpServletRequest hReq, CrdnQuery query) {
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
boolean json = jsonResponse(); boolean json = jsonResponse();
ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/crdn/crdn06030-info"); ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/crdn/crdn06030-info");
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM010"); Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM010");
return mav return mav
.addObject("pageName", "crdn06030") // jsp pageName .addObject("pageName", "crdn06030") // jsp pageName
.addObject("infoPrefix", "crdnSttsCd") // prefix .addObject("prefixUrl", CLASS_URL) // prefixUrl
.addObject("infoPrefixUrl", CLASS_URL) // prefixUrl .addObject("crdnSttsCdInfo", json ? crdnInfo : toJson(crdnInfo))
.addObject("FIM010List", commonCodes.get("FIM010")) // 단속 처리 상태 코드(CRDN_STTS_CD) .addObject("FIM010List", commonCodes.get("FIM010")) // 단속 처리 상태 코드(CRDN_STTS_CD)
.addObject("crdnSttsCdInfo", json ? crdnInfo : toJson(crdnInfo)) ;
;
} }
/** ID . /** ID .

Loading…
Cancel
Save