This commit is contained in:
2023-03-31 09:27:59 +08:00
parent 31f94fef18
commit 8be42f20f0
7 changed files with 27 additions and 148 deletions
+2
View File
@@ -736,6 +736,8 @@ class PatientDoctorService extends BaseService
$data['hospital_name'] = $patient_history_doctor['userDoctor']['Hospital']['hospital_name'];
}
$data['doctor_title'] = empty($patient_history_doctor['userDoctor']['doctor_title']) ? "" : DoctorTitleCode::getMessage($patient_history_doctor['userDoctor']['doctor_title']);
// 按照天来计算,当日为1,前一天为2 未服务过为0
if (empty($patient_history_doctor['created_at'])) {
$data['days'] = 0;