From 91d865bfab93160a17bb4e1adcb9e490ffdf7d29 Mon Sep 17 00:00:00 2001 From: weigang Date: Sun, 13 Sep 2020 10:42:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=95=86=E5=88=86=E8=B4=A6?= =?UTF-8?q?=E6=97=B6=E5=88=A4=E6=96=AD=E4=BB=8E=E5=B1=9E=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/SeparateAccountsService.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Service/v3/Implementations/SeparateAccountsService.php b/app/Service/v3/Implementations/SeparateAccountsService.php index fe984a6..be4574e 100644 --- a/app/Service/v3/Implementations/SeparateAccountsService.php +++ b/app/Service/v3/Implementations/SeparateAccountsService.php @@ -173,8 +173,11 @@ class SeparateAccountsService implements SeparateAccountsServiceInterface // 当前订单(子)对应商户是否有市场经理绑定关系 $store = Store::query()->find($order['store_id']); // 商户 $mmInfo = MmInfo::query()->where(['user_id' => $store->mm_user_id])->first(); // 市场经理 + if (empty($mmInfo)) continue; $market = Market::query()->find($mmInfo->market_id); // 市场 + if (empty($market)) continue; $mpInfo = MpInfo::query()->find($market->mp_id); // 服务商 + if (empty($mpInfo)) continue; $ssdbName = 'mm_'.$mmInfo->id.'_award_'.$store->id;