소스 검색

算法小店优化判断

zhangdongming 2 년 전
부모
커밋
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