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')]); // }