no message

main
이범준 1 year ago
parent dcc4810127
commit 8988480663

@ -100,7 +100,6 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
dataObjectList = crdnListMapper.selectSameVehicleSubList(query.setOrderBy("CRDN_ID")); dataObjectList = crdnListMapper.selectSameVehicleSubList(query.setOrderBy("CRDN_ID"));
break; break;
case "todayInsert": case "todayInsert":
query.setCurrentUserId(currentUser().getId());
query.setOrderBy("CRDN_ID"); query.setOrderBy("CRDN_ID");
dataObjectList = crdnListMapper.selectTodayCrackdownList(query); dataObjectList = crdnListMapper.selectTodayCrackdownList(query);
break; break;
@ -188,8 +187,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
} }
} }
String currentSggCd = globalStngMapper.selectSggCdForCurrentUser();
crdn.setSggCd(currentSggCd);
boolean result = crdnBean.create(crdn); boolean result = crdnBean.create(crdn);
if (!result) { if (!result) {
throw new RuntimeException("단속자료 수기 등록 중 단속자료 등록에 실패하였습니다."); throw new RuntimeException("단속자료 수기 등록 중 단속자료 등록에 실패하였습니다.");
@ -204,7 +202,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
if(crdn.getCrdnSttsCd().equals("83")) { if(crdn.getCrdnSttsCd().equals("83")) {
// 부과제외(TB_LEVY_EXCL) 대장 등록 // 부과제외(TB_LEVY_EXCL) 대장 등록
LevyExcl excl01 = new LevyExcl(); LevyExcl excl01 = new LevyExcl();
excl01.setSggCd(currentSggCd); excl01.setSggCd(crdn.getSggCd());
excl01.setTaskSeCd(crdn.getTaskSeCd()); excl01.setTaskSeCd(crdn.getTaskSeCd());
excl01.setCrdnId(crdn.getCrdnId()); excl01.setCrdnId(crdn.getCrdnId());
excl01.setLevyExclYmd(strCurrentDate); excl01.setLevyExclYmd(strCurrentDate);

@ -82,6 +82,7 @@ public class Crdn05Controller extends ApplicationController {
public ModelAndView getTodayCrdnDataList(CrdnQuery query) { public ModelAndView getTodayCrdnDataList(CrdnQuery query) {
setFetchSize(query); setFetchSize(query);
query.setGridType("todayInsert"); query.setGridType("todayInsert");
query.setCurrentUserId(currentUser().getId());
return setCollectionInfo(new ModelAndView("jsonView"),crdnService.getCrackdownList(query),""); return setCollectionInfo(new ModelAndView("jsonView"),crdnService.getCrackdownList(query),"");
} }

Loading…
Cancel
Save