Procházet zdrojové kódy

大同计算修复bug

xieshengjie před 2 roky
rodič
revize
0eb5c62077

+ 1 - 1
web/gdsx-ghost/src/main/java/com/gyee/ghost/service/RealtimeService.java

@@ -53,7 +53,7 @@ public class RealtimeService {
         Map<String, Map<String, Windturbinetestingpointai>> wtpAimap = CacheContext.wtpAimap;
 
         Date samedayZero = DateUtils.getSamedayZero();
-        Date currentDate = sdf.parse(DateUtils.toDate1(DateUtils.getCurrentDate()));
+        Date currentDate = sdf.parse(DateUtils.toDate(DateUtils.getCurrentDate()));
 //        Date befroeDate = DateUtils.addSeconds(currentDate, -1);
         Date befroeDate = DateUtils.addMinutes(currentDate,-5);