Commit 2945c77a6e0492c0ee4b1452ea54e332f60afd8f
1 parent
090496c5
feat(*): 调整事故车二次跟进截止时间
- 调整事故车二次跟进截止时间
Showing
1 changed file
with
2 additions
and
0 deletions
fw-shirasawa-service/src/main/java/cn/fw/shirasawa/service/bus/follow/strategy/impl/ACFollowStrategy.java
... | ... | @@ -23,6 +23,7 @@ import org.springframework.stereotype.Component; |
23 | 23 | import org.springframework.transaction.annotation.Transactional; |
24 | 24 | import org.springframework.util.CollectionUtils; |
25 | 25 | |
26 | +import java.time.LocalDate; | |
26 | 27 | import java.time.LocalDateTime; |
27 | 28 | import java.util.List; |
28 | 29 | import java.util.Objects; |
... | ... | @@ -176,6 +177,7 @@ public class ACFollowStrategy extends AbstractFollowStrategy { |
176 | 177 | long timeliness = Optional.ofNullable(followTodoProperty.getAccTodoTimeliness()).orElse(72).longValue(); |
177 | 178 | LocalDateTime nextTime = Optional.ofNullable(next.getAccNextDate()).orElse(next.getNextDate().atTime(9, 0)); |
178 | 179 | FollowRecord newRecord = createNextRecord(record, nextTime, timeliness); |
180 | + newRecord.setDeadline(LocalDate.from(nextTime).atTime(23, 59, 59)); | |
179 | 181 | newRecord.setCompelTel(Boolean.FALSE); |
180 | 182 | followRecordService.save(newRecord); |
181 | 183 | } | ... | ... |