zhangdongming 2 лет назад
Родитель
Сommit
82e6ef3304
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Controller/AlgorithmShop/AlgorithmShopController.py

+ 1 - 1
Controller/AlgorithmShop/AlgorithmShopController.py

@@ -510,7 +510,7 @@ class AlgorithmShopView(View):
                     count += item.count
                     hour = item.statistical_time.hour
                     is_data = True
-                elif next_time == -1 and current_time < item.device_time:
+                elif next_time == -1 and current_time <= item.device_time:
                     hour = item.statistical_time.hour
                     count += item.count
                     is_data = True