기타 수정.

main
JoJH 2 weeks ago
parent a66ff8b20c
commit bae094980f

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

Loading…
Cancel
Save