Commit cdbdc6bb5d51ffca49cd1db9e725fa4f0722cbfb
Merge remote-tracking branch 'origin/dev' into test
Showing
1 changed file
with
1 additions
and
7 deletions
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/AccidentPoolBizService.java
... | ... | @@ -116,13 +116,7 @@ public class AccidentPoolBizService { |
116 | 116 | followTask.setOriginTime(pool.getCreateTime()); |
117 | 117 | followTask.setState(TaskStateEnum.WAITING); |
118 | 118 | followTask.setBeginTime(DateUtil.localDateTime2Date(LocalDateTime.now())); |
119 | - | |
120 | - settingBizService.querySettingByType(FollowTypeEnum.AC, SettingTypeEnum.FAIL_TIME, pool.getGroupId()) | |
121 | - .ifPresent(r -> { | |
122 | - Timestamp expired = DateUtil.getExpired(pool.getCreateTime(), r.getDetailValue(), getCalendarType(Objects.requireNonNull(SettingUnitEnum.ofValue(r.getUnit())))); | |
123 | - followTask.setDeadline(expired); | |
124 | - }); | |
125 | - | |
119 | + followTask.setDeadline(DateUtil.getCurrentDayEndTime()); | |
126 | 120 | followTask.setFinished(Boolean.FALSE); |
127 | 121 | followTask.setGroupId(pool.getGroupId()); |
128 | 122 | followTask.setOriginShop(pool.getShopId()); | ... | ... |