@ -428,7 +428,7 @@ class OrderController extends Controller
//检查号源是否可用
if($do_type=='update'){
//如果是线下预约的订单,则不进行号源检测
$plan = DB::table('plans')->where(['id' => $plan_id, 'hospital_id' => $hospital_id, 'status' => 1, 'is_del' => 0])->first();
$plan = DB::table('plans')->where(['id' => $plan_id, 'hospital_id' => $hospital_id, 'is_del' => 0])->first();
}else{
$plan = new PlanController();