diff --git a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/AbstractFollowStrategy.java b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/AbstractFollowStrategy.java index fc4779e..0589b3e 100644 --- a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/AbstractFollowStrategy.java +++ b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/AbstractFollowStrategy.java @@ -932,9 +932,9 @@ public abstract class AbstractFollowStrategy implements FollowStrategy { if (newTime.before(originTime)) { return true; } - newDeadLine = DateUtil.getExpiredSecond(calDate(efsetting.get(), newTime, false), -1); + newDeadLine = calDate(efsetting.get(), newTime, false); } - + newDeadLine = DateUtil.getExpiredSecond(newDeadLine, -1); final FollowRecord newRecord = this.getEntity(task, newTime, newDeadLine); return followRecordService.queryAndSave(newRecord); }