|
@@ -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)){
|