|
@@ -308,9 +308,10 @@ func GetWeekDaySchedule(orgID int64, scheduleDate int64, scheduleDates *time.Tim
|
308
|
308
|
oldTime := scheduleDates.AddDate(0, 0, int(count)).Unix()
|
309
|
309
|
advices, _ := FindAllDoctorAdviceByTimeOther(now, oldTime, item.PatientId, item.UserOrgId, advice.TemplateId)
|
310
|
310
|
if len(advices) == 0 {
|
311
|
|
- advice_three = append(advice_three)
|
|
311
|
+ advice_three = append(advice_three, advice)
|
312
|
312
|
}
|
313
|
313
|
}
|
|
314
|
+
|
314
|
315
|
item.DoctorAdvice = append(item.DoctorAdvice, advice_three...)
|
315
|
316
|
}
|
316
|
317
|
}
|