cqp 1 месяц назад
Родитель
Сommit
235f19dad5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Service/StatisticService.php

+ 1 - 1
app/Service/StatisticService.php

@@ -973,7 +973,7 @@ class StatisticService extends StatisticCommonService
             if (is_null($return)) return [false, '年度格式错误'];
             list($month_start, $month_end) = $return;
             $model->where("start_time", ">=", $month_start)
-                ->where("end_time", "<", $month_end);
+                ->where("end_time", "<=", $month_end);
         }
 
         $list = $model->get()->toArray();