cqp 19 시간 전
부모
커밋
6158aee387
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/Service/ApplyOrderService.php

+ 2 - 1
app/Service/ApplyOrderService.php

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