mirror of
https://git.hmsn.ink/kospo/svcm/api.git
synced 2026-03-19 21:05:06 +09:00
등록기간 오류 수정
This commit is contained in:
@@ -69,7 +69,8 @@ public class EstimateServiceImpl implements EstimateService {
|
||||
|
||||
Prcs prcs = optionalPrcs.get();
|
||||
Date now = new Date();
|
||||
Date end = CommonUtils.stringToDate(prcs.getRegEdat(), "yyyy-MM-dd");
|
||||
String endStr = CommonUtils.stringToPlusDay(prcs.getRegEdat(), "yyyy-MM-dd", 1);
|
||||
Date end = CommonUtils.stringToDate(endStr, "yyyy-MM-dd");
|
||||
System.out.println(end.getTime() +"///"+ now.getTime());
|
||||
if(end.getTime() <= now.getTime()) throw new CustomMessageException(CustomMessageException.CusMessage.builder()
|
||||
.code("999999")
|
||||
|
||||
Reference in New Issue
Block a user