cqp 11 tháng trước cách đây
mục cha
commit
35c761320c
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/Http/Controllers/Api/ScreenController.php

+ 3 - 1
app/Http/Controllers/Api/ScreenController.php

@@ -469,9 +469,11 @@ class ScreenController extends BaseController
         $startOfDay = strtotime(date('Y-m-d 00:00:00', strtotime("-20days")));
 
         $result = DispatchSub::where('del_time',0)
-            ->where('dispatch_time_start',">=", $startOfDay)
+//            ->where('dispatch_time_start',">=", $startOfDay)
             ->where('finished_num',0)
             ->select('dispatch_no as order_no','product_title','dispatch_quantity as product_num','process_id')
+            ->orderBy('id','desc')
+            ->limit(20)
             ->get()->toArray();
 
         if(! empty($result)){