From 673f55aee4969ca14e849297fa3d6c24b3b5bd7e Mon Sep 17 00:00:00 2001 From: yanzai Date: Thu, 31 Oct 2024 10:54:25 +0800 Subject: [PATCH] =?UTF-8?q?H5=E9=9A=90=E8=97=8Fvip=E5=8F=B7=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/app/Http/Controllers/API/H5/PlanController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Laravel/app/Http/Controllers/API/H5/PlanController.php b/Laravel/app/Http/Controllers/API/H5/PlanController.php index dec92b6..7385a7d 100644 --- a/Laravel/app/Http/Controllers/API/H5/PlanController.php +++ b/Laravel/app/Http/Controllers/API/H5/PlanController.php @@ -30,6 +30,7 @@ class PlanController extends Controller ->whereRaw('CONCAT(date, " ", time) >?', [$currentDateTime]) ->whereRaw('JSON_CONTAINS(checkup_type_id, ?, "$")', [json_encode($checkup_type_id)]) ->where(['hospital_id'=>$hospital_id,'type'=>1]) + ->where('is_vip','<>',1) ->whereIn('use_type',[0,$use_type]); // if($use_type==1){ // $list=$list->where(['amount_limit1'=>0])->orWhere('amount_limit1','>=',$amount); @@ -98,6 +99,7 @@ class PlanController extends Controller ->whereRaw('CONCAT(date, " ", time) >?', [$currentDateTime]) ->whereRaw('JSON_CONTAINS(checkup_type_id, ?, "$")',[$checkup_type_id]) ->where(['hospital_id'=>$hospital_id,'type'=>1]) + ->where('is_vip','<>',1) ->whereIn('use_type',[0,$use_type]); if ($use_type == 1) { $list = $list->where(function ($query) use ($amount) { @@ -127,6 +129,7 @@ class PlanController extends Controller ->whereRaw('CONCAT(date, " ", time) >?', [$currentDateTime]) ->whereRaw('JSON_CONTAINS(checkup_type_id, ?, "$")', [$checkup_type_id]) ->where(['hospital_id'=>$hospital_id,'type'=>1]) + ->where('is_vip','<>',1) ->whereIn('use_type',[0,$use_type]); // if($use_type==1){ // $weeklist=$weeklist->where(['amount_limit1'=>0])->orWhere('amount_limit1','>=',$amount);