From 7b5a57e7365543f8522aa56a613317a37fc3b525 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Wed, 23 Sep 2020 18:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=AE=B6=E4=B8=AD=E5=BF=83=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/RevenueListService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Service/v3/Implementations/RevenueListService.php b/app/Service/v3/Implementations/RevenueListService.php index 60555a8..4a5dd06 100644 --- a/app/Service/v3/Implementations/RevenueListService.php +++ b/app/Service/v3/Implementations/RevenueListService.php @@ -2,6 +2,7 @@ namespace App\Service\v3\Implementations; +use App\Constants\v3\UserType; use App\Model\v3\FinancialRecord; use App\Service\v3\Interfaces\RevenueListServiceInterface; @@ -29,7 +30,8 @@ class RevenueListService implements RevenueListServiceInterface $mod = bcmod((string)$userId, '5', 0); $financialRecord->suffix($mod); $builder = $financialRecord->where('user_id',$userId) - ->where('money_type','<',100); + //->where('money_type','<',100) + ->where('user_type','=',UserType::STORE); // if(!empty($startTime) && !empty($endTime)){ // $builder->whereBetween('created_at',[strtotime($startTime.' 00:00:00'),strtotime($endTime.' 23:59:59')]); // }