|
@@ -725,10 +725,10 @@ class BoxService extends Service
|
|
|
}
|
|
|
|
|
|
public function boxFhBzList($data){
|
|
|
+ if(empty($data['shipment_order_no'])) return [false, '请输入发货单号'];
|
|
|
$model = DB::table('box_detail')->where('del_time',0)
|
|
|
+ ->whereIn('shipment_order_no','LIKE', '%'.$data['shipment_order_no'].'%')
|
|
|
->select('order_no','crt_time');
|
|
|
- if(! empty($data['out_order_no'])) $model->whereIn('out_order_no',$data['out_order_no']);
|
|
|
- if(! empty($data['shipment_order_no'])) $model->whereIn('shipment_order_no',$data['shipment_order_no']);
|
|
|
|
|
|
$return = [];
|
|
|
$result = $model->get()->toArray();
|