Selaa lähdekoodia

修正五项损失数据推送

shilin 5 vuotta sitten
vanhempi
commit
a9a4f0c410

+ 1 - 0
src/main/java/com/gyee/frame/service/app/index/IndexDetailService.java

@@ -322,6 +322,7 @@ public class IndexDetailService extends SocketToolService{
         c.set(Calendar.HOUR_OF_DAY, 0);
         c.set(Calendar.MINUTE, 0);
         c.set(Calendar.SECOND, 0);
+        c.add(Calendar.DAY_OF_MONTH,-7);
         Date beginDate = c.getTime();
 
         Map<String, Map<String, WindPowerStationTestingPoint2>> stationPointmap = InitialRunner.stationPointmap;