yanzai 1 year ago
parent fd0fbcebd5
commit d1cc9d0ac4

@ -113,10 +113,14 @@ class ComboController extends Controller
->pluck('combo_id')->toArray(); ->pluck('combo_id')->toArray();
$count = count($combo_ids); $count = count($combo_ids);
$placeholders = implode(', ', array_fill(0, $count, '?')); $placeholders = implode(', ', array_fill(0, $count, '?'));
if(count($combo_ids)>0){
$sql = $sql . " and a.combo_id in ($placeholders) "; $sql = $sql . " and a.combo_id in ($placeholders) ";
$canshu =array_merge($canshu, $combo_ids); $canshu =array_merge($canshu, $combo_ids);
}else{
$sql = $sql . " and a.combo_id in (?) ";
$canshu =array_merge($canshu, [0]);
}
} }

@ -401,7 +401,7 @@ class OrderController extends Controller
if ($env == 'pro') { //如果是正式环境 if ($env == 'pro') { //如果是正式环境
//把状态更新为支付后,然后再开始预约思信 //开始预约二线
$nowDateTime=date('Y-m-d H:i:s'); $nowDateTime=date('Y-m-d H:i:s');
if (!empty($plan_nmr_appointment_info)) { if (!empty($plan_nmr_appointment_info)) {
// foreach ($erxian_info as $key => $plan_nmr) { // foreach ($erxian_info as $key => $plan_nmr) {

@ -344,7 +344,7 @@
<!-- 套餐内容 --> <!-- 套餐内容 -->
<view v-if="comboInfo?.items?.length" class="mb-20rpx"> <view v-if="comboInfo?.items?.length" class="mb-20rpx">
<!-- 套餐项目 --> <!-- 套餐项目 -->
<view class="text-#2E2E2E text-30rpx center mb-20rpx">套餐项目{{ comboInfo?.items?.length }}</view> <view class="text-#2E2E2E text-30rpx center mb-20rpx">套餐项目{{ comboInfo?.tags[0]?.text }}</view>
<view class="flex h-67rpx bg-#239ea3 text-#fff text-26rpx rounded-10rpx"> <view class="flex h-67rpx bg-#239ea3 text-#fff text-26rpx rounded-10rpx">
<view class="min-w-155rpx max-w-155rpx center b-0 b-r-4 b-solid b-#fff">检查项目</view> <view class="min-w-155rpx max-w-155rpx center b-0 b-r-4 b-solid b-#fff">检查项目</view>
<view class="grow center">检查指标意义</view> <view class="grow center">检查指标意义</view>

Loading…
Cancel
Save