From 4b5a0c8df92a0596aa44a9dd76032d15f34aa4b0 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Fri, 14 Aug 2020 16:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E5=90=8D?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/OrderListService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Service/OrderListService.php b/app/Service/OrderListService.php index 5c960fa..f381801 100644 --- a/app/Service/OrderListService.php +++ b/app/Service/OrderListService.php @@ -20,7 +20,7 @@ class OrderListService implements OrderListServiceInterface ->join('ims_cjdc_order_main as m','o.order_main_id','=','m.id') ->join('ims_cjdc_storeset as s','s.store_id','=','o.store_id') ->where([ - ['o.store_id','=',$data['id']], + ['o.store_id','=',$data['store_id']], ['o.type','=',1], ]) ->whereIn('o.state',[$data['state']]) @@ -74,7 +74,7 @@ class OrderListService implements OrderListServiceInterface { $order_main = Db::table('ims_cjdc_order_main') ->where([ - ['id','=',$data['id']], + ['id','=',$data['order_id']], ['type','=',1], ]) ->select( @@ -100,7 +100,7 @@ class OrderListService implements OrderListServiceInterface ->first(); $order = Db::table('ims_cjdc_order as o') ->join('ims_cjdc_store as s','o.store_id','=','s.id') - ->where('o.order_main_id',$data['id']) + ->where('o.order_main_id',$data['order_id']) ->select( 'o.id', 'o.store_id',