From cd45fe61c3ce1b4d4087f56b0c186a666bf88a48 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GG6FIN9\\Administrator" <15040771@qq.com> Date: Tue, 11 Aug 2020 10:21:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/CouponRebateService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Service/CouponRebateService.php b/app/Service/CouponRebateService.php index de89875..3864091 100644 --- a/app/Service/CouponRebateService.php +++ b/app/Service/CouponRebateService.php @@ -267,9 +267,9 @@ class CouponRebateService implements CouponRebateServiceInterface ->leftjoin('ims_system_coupon_user_use as u', 'u.user_receive_id', '=', 'r.id') ->where([ ['u.order_main_id', '=', $order_id], - // ['r.send_user_id', '>', 0], - // ['r.rebate_type', '=', 1], - // ['r.receive_type', '=', 4], + ['r.send_user_id', '>', 0], + ['r.rebate_type', '=', 1], + ['r.receive_type', '=', 4], ]) ->whereIn('r.system_coupon_user_id',$coupon_ids) ->select('r.user_id', 'r.send_user_id')