diff --git a/backend/src/main/java/io/metersphere/api/service/ShareInfoService.java b/backend/src/main/java/io/metersphere/api/service/ShareInfoService.java index 5519485b37..91a9d074c4 100644 --- a/backend/src/main/java/io/metersphere/api/service/ShareInfoService.java +++ b/backend/src/main/java/io/metersphere/api/service/ShareInfoService.java @@ -534,14 +534,14 @@ public class ShareInfoService { millisCheck(shareInfo,1000 * 60 * 60 * 24); }else { String expr= projectApplication.getShareReportExpr(); - long timeMills = getTimeMills(expr); + long timeMills = getTimeMills(shareInfo.getUpdateTime(),expr); millisCheck(shareInfo,timeMills); } } } private void millisCheck(ShareInfo shareInfo, long millis) { - if (System.currentTimeMillis() - shareInfo.getUpdateTime() > millis) { + if (shareInfo.getUpdateTime()