فهرست منبع

版本大修改

cqp 2 ماه پیش
والد
کامیت
77a3d43cf9
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/Service/ApplyOrderService.php

+ 2 - 2
app/Service/ApplyOrderService.php

@@ -2120,10 +2120,10 @@ class ApplyOrderService extends Service
                 ->get()->toArray();
             $detail = ReportWorkingDetail::whereIn('data_id', array_column($dispatch,'id'))
                 ->where('del_time',0)
-                ->select('data_id')
+                ->select('report_working_id')
                 ->get()->toArray();
             $result = ReportWorking::where('del_time',0)
-                ->whereIn('id', array_unique(array_column($detail,'data_id')))
+                ->whereIn('id', array_unique(array_column($detail,'report_working_id')))
                 ->select('id', 'order_number as order_no')
                 ->get()->toArray();
         }elseif($data['for_type'] == 5){