Browse Source

overlay lazy dilution

xsr 5 months ago
parent
commit
afddb1f3cc

+ 1 - 1
src/main/java/com/gct/edge/actuator/service/impl/DiagnoseServiceImpl.java

@@ -260,7 +260,7 @@ public class DiagnoseServiceImpl extends ServicePlusImpl<DiagnoseResultRealTimeM
260 260
                 }
261 261
             }
262 262
             JSONObject res = getOverlayObj(dilutionResult);
263
-            res.put("thisPagefirstDate",prePageLastDate);
263
+            res.put("thisPagefirstDate",Objects.isNull(prePageLastDate)?beginDate:prePageLastDate);
264 264
             res.put("thisPagelastDate",dilutionResult.isEmpty()?null:dilutionResult.get(dilutionResult.size()-1).getProTime().format(df));
265 265
             return res;
266 266
         }