更新加急标记

main
岩仔88 5 days ago
parent 0ebb5f0ab3
commit 7e74f35d38

@ -95,6 +95,7 @@ class YiJiController extends Controller
'medicalHistory' => $data_v["medicalHistory"], //病史摘要 'medicalHistory' => $data_v["medicalHistory"], //病史摘要
'diagnosisName' => $data_v["diagnosisName"], //临床诊断(诊断名称) 'diagnosisName' => $data_v["diagnosisName"], //临床诊断(诊断名称)
'idCardNumber' => $data_v["idCardNumber"], //身份证号 'idCardNumber' => $data_v["idCardNumber"], //身份证号
'his_is_emergency'=> intval($data_v["urgentFlag"]) //是否加急
]; ];
$list_id= DB::table('s_list')->insertGetId($params); $list_id= DB::table('s_list')->insertGetId($params);
if($list_id){ if($list_id){

@ -444,7 +444,8 @@ WHERE
'xuhao' => $xvhao, 'xuhao' => $xvhao,
'appointment_type_id' => $appointment_type, 'appointment_type_id' => $appointment_type,
'qudao_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; $list_all_success =true;
$offset = 0; $offset = 0;
@ -701,6 +702,7 @@ WHERE
'department_id' => null, 'department_id' => null,
'appointment_type_id' => null, 'appointment_type_id' => null,
'canel_time' => $nowdatetime, 'canel_time' => $nowdatetime,
'is_emergency'=>0
]; ];
$u_mainList = DB::table('s_list')->where(['id' => $MainListId])->update($u_data); $u_mainList = DB::table('s_list')->where(['id' => $MainListId])->update($u_data);

Loading…
Cancel
Save