peng 1 жил өмнө
parent
commit
8c6ff5801f

+ 1 - 1
AdminController/dataSystemManagement/OperatingCostsDataController.py

@@ -61,7 +61,7 @@ class OperatingCostsDataView(View):
         line = int(line)
         line = int(line)
         try:
         try:
             if start_time and end_time:
             if start_time and end_time:
-                operating_costs_qs = OperatingCosts.objects.filter(time__gte=start_time, time__lte=end_time)
+                operating_costs_qs = OperatingCosts.objects.filter(time__gte=start_time, time__lt=end_time)
             else:
             else:
                 operating_costs_qs = OperatingCosts.objects.all()
                 operating_costs_qs = OperatingCosts.objects.all()
             count = operating_costs_qs.count()
             count = operating_costs_qs.count()