|
@@ -4276,7 +4276,8 @@ class ApplyOrderService extends Service
|
|
|
->pluck('dispatch_sub_id')
|
|
|
->toArray();
|
|
|
$result = DispatchSub::where('del_time',0)
|
|
|
- ->where('id', $dispatch_id)
|
|
|
+ ->whereIn('id', $dispatch_id)
|
|
|
+ ->where('type',1)
|
|
|
->select('id', 'dispatch_no as order_no')
|
|
|
->get()->toArray();
|
|
|
}elseif ($for_type == 4){
|