cqp 1 tháng trước cách đây
mục cha
commit
235f19dad5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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, '年度格式错误'];
             if (is_null($return)) return [false, '年度格式错误'];
             list($month_start, $month_end) = $return;
             list($month_start, $month_end) = $return;
             $model->where("start_time", ">=", $month_start)
             $model->where("start_time", ">=", $month_start)
-                ->where("end_time", "<", $month_end);
+                ->where("end_time", "<=", $month_end);
         }
         }
 
 
         $list = $model->get()->toArray();
         $list = $model->get()->toArray();