fix: 재열람만료일시와 마감일시 유효성 체크 활성화

dev
Jonguk. Lim 2 months ago
parent 65948b18de
commit de9138de55

@ -108,9 +108,8 @@ public class KkoTalkAcceptor implements EnsPhaseProcSupport<EnsResponseVO<?>, Kk
if (!CmmnUtil.isEmpty(document.getReviewExpiresAt())) { if (!CmmnUtil.isEmpty(document.getReviewExpiresAt())) {
String expDate = DateUtil.getTimeOfTimeT(document.getReviewExpiresAt(), "yyyyMMddHHmmss"); String expDate = DateUtil.getTimeOfTimeT(document.getReviewExpiresAt(), "yyyyMMddHHmmss");
int sec = DateUtil.secByFromBetweenTo(DateUtil.toLocalDateTime(expDate), DateUtil.toLocalDateTime(reqDTO.getClose_dt())); int sec = DateUtil.secByFromBetweenTo(DateUtil.toLocalDateTime(expDate), DateUtil.toLocalDateTime(reqDTO.getClose_dt()));
// FIXME: 테스트를 위해 skip - 테스트완료후 활성화 if (sec < 0)
// if (sec < 0) result.add(String.format("마감일시보다 \"재열람 만료일시\"가 느립니다. [ document[%d].acpt_data.kko_talk.readExpiresAt ]", i.get()));
// result.add(String.format("마감일시보다 \"재열람 만료일시\"가 느립니다. [ document[%d].acpt_data.kko_talk.readExpiresAt ]", i.get()));
} }
} }
i.getAndIncrement(); i.getAndIncrement();

Loading…
Cancel
Save