Browse Source

获取最近日期

Reiskuchen 5 years ago
parent
commit
2273bf9b1f

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/service/impl/ScreenshotServiceImpl.java

@@ -282,7 +282,7 @@ public class ScreenshotServiceImpl extends ServiceImpl<ScreenshotMapper, Screens
                 String futureDateString = futureScreenshot != null ? futureScreenshot.getDateStr() : null;
                 String historyDateString = historyScreenshot != null ? historyScreenshot.getDateStr() : null;
                 if (futureDateString == null && historyDateString == null) {
-                    httpRespMsg = null;
+                    httpRespMsg.data = null;
                 } else if (futureDateString == null) {
                     httpRespMsg.data = historyDateString;
                 } else if (historyDateString == null) {