cqp před 1 měsícem
rodič
revize
235f19dad5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();