Explorar o código

算法小店优化判断

zhangdongming %!s(int64=2) %!d(string=hai) anos
pai
achega
82e6ef3304
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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