이지우 - 처리기간에 보완기간, 중지기간 증감 반영
This commit is contained in:
parent
2413576b38
commit
7b6e037187
@ -34,6 +34,7 @@ public class CaseUtilServiceImpl extends EgovAbstractServiceImpl implements Case
|
||||
|
||||
CaseUtilVO caseVO = new CaseUtilVO();
|
||||
HolidayVO holidayVO = new HolidayVO();
|
||||
|
||||
/*사건번호로 심의 안건 조회 후 있는 경우 - 1차 협의회 개최일을 조정 종요일로 계산, 2차 협의회 개최일을 조정 종료일2로
|
||||
심의 안건이 없는 경우 현재 협의회 개최일을 조정 종료일로*/
|
||||
|
||||
@ -49,7 +50,10 @@ public class CaseUtilServiceImpl extends EgovAbstractServiceImpl implements Case
|
||||
String firstEndDtStr = caseVO.getFirstEndDt(); //firstEndDtStr : 'YYYY-MM-DD HH:MM'
|
||||
LocalDate caseDate = LocalDate.parse(caseDateStr, caseDateFormatter); //caseDate : 'YYYY-MM-DD'
|
||||
LocalDate endDate = LocalDate.parse(endDateStr, MediationEndDateFormatter); //endDate : 'YYYY-MM-DD'
|
||||
|
||||
|
||||
//중지기간, 보완기간
|
||||
int stopReqTerm = (caseVO.getStopReqTerm() == null || caseVO.getStopReqTerm().trim().isEmpty()) ? 0 : Integer.parseInt(caseVO.getStopReqTerm().trim());
|
||||
int appReqTerm = (caseVO.getAppReqTerm() == null || caseVO.getAppReqTerm().trim().isEmpty()) ? 0 : (Integer.parseInt(caseVO.getAppReqTerm().trim()) > 21 ? 21 : Integer.parseInt(caseVO.getAppReqTerm().trim()));
|
||||
|
||||
if("Y".equals(caseVO.getDblrtYn())) { //심의 안건이 있던 경우 firstEndDtStr 사용
|
||||
String SecondendDateStr = endDate.format(outputFormatter); //SecondendDateStr : 'YYYY-MM-DD HH:MM'(2차 보고일)
|
||||
@ -72,7 +76,7 @@ public class CaseUtilServiceImpl extends EgovAbstractServiceImpl implements Case
|
||||
workCnt++;
|
||||
}
|
||||
}
|
||||
workCnt = workCnt - hldCnt;
|
||||
workCnt = workCnt - hldCnt - stopReqTerm -appReqTerm;
|
||||
caseVO.setPendencyPeriod(Integer.toString(workCnt));
|
||||
this.updateCaseEndDt(caseVO);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user