From 7ca8936c908c5f9980e3c046f1a8905e8a99ece4 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Fri, 11 Feb 2022 11:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BF=9B=E8=B4=A7=E8=A1=A5?= =?UTF-8?q?=E8=B4=B4=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/DealerPurchaseLogController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Admin/Controllers/DealerPurchaseLogController.php b/app/Admin/Controllers/DealerPurchaseLogController.php index 756882c8..bf060cd1 100644 --- a/app/Admin/Controllers/DealerPurchaseLogController.php +++ b/app/Admin/Controllers/DealerPurchaseLogController.php @@ -26,7 +26,7 @@ class DealerPurchaseLogController extends AdminController // dd($phone); if ($phone) { $user = User::where('phone', $phone)->first(); - $grid->model()->where('path', 'like', '%-'.$user->id.'-'); + $grid->model()->where('path', 'like', '%-'.$user->id.'-%'); } $grid->column('id')->sortable(); $grid->column('user.phone', '手机号')->copyable();