From 7e74f35d3832169bf99956ebd27383f26d729db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <> Date: Tue, 17 Mar 2026 12:13:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=A0=E6=80=A5=E6=A0=87?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/app/Http/Controllers/API/Third/YiJiController.php | 1 + Laravel/app/Services/Admin/YeWu/PlanListService.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Laravel/app/Http/Controllers/API/Third/YiJiController.php b/Laravel/app/Http/Controllers/API/Third/YiJiController.php index 515ce2d..2f49d21 100644 --- a/Laravel/app/Http/Controllers/API/Third/YiJiController.php +++ b/Laravel/app/Http/Controllers/API/Third/YiJiController.php @@ -95,6 +95,7 @@ class YiJiController extends Controller 'medicalHistory' => $data_v["medicalHistory"], //病史摘要 'diagnosisName' => $data_v["diagnosisName"], //临床诊断(诊断名称) 'idCardNumber' => $data_v["idCardNumber"], //身份证号 + 'his_is_emergency'=> intval($data_v["urgentFlag"]) //是否加急 ]; $list_id= DB::table('s_list')->insertGetId($params); if($list_id){ diff --git a/Laravel/app/Services/Admin/YeWu/PlanListService.php b/Laravel/app/Services/Admin/YeWu/PlanListService.php index 1b8f4ec..ff0f11e 100644 --- a/Laravel/app/Services/Admin/YeWu/PlanListService.php +++ b/Laravel/app/Services/Admin/YeWu/PlanListService.php @@ -444,7 +444,8 @@ WHERE 'xuhao' => $xvhao, 'appointment_type_id' => $appointment_type, 'qudao_appointment_type_id' => $appointment_type, - 'appointment_use_plan_detail'=>$appointment_use_plan_detail_arr + 'appointment_use_plan_detail'=>$appointment_use_plan_detail_arr, + 'is_emergency'=>$is_emergency ]; $list_all_success =true; $offset = 0; @@ -701,6 +702,7 @@ WHERE 'department_id' => null, 'appointment_type_id' => null, 'canel_time' => $nowdatetime, + 'is_emergency'=>0 ]; $u_mainList = DB::table('s_list')->where(['id' => $MainListId])->update($u_data);