|
@@ -2013,8 +2013,8 @@ func (c *ScheduleApiController) DeleteSchedule() {
|
2013
|
2013
|
}
|
2014
|
2014
|
|
2015
|
2015
|
if adminINfo.CurrentOrgId == 10206 {
|
2016
|
|
- advice, _ := service.GetHisDoctorAdviceListTwenty(schedule.PatientId, schedule.ScheduleDate, adminINfo.CurrentOrgId)
|
2017
|
|
- if len(advice) > 0 {
|
|
2016
|
+ hisAdvice, _ := service.GetHisDoctorAdviceListTwenty(schedule.PatientId, schedule.ScheduleDate, adminINfo.CurrentOrgId)
|
|
2017
|
+ if len(hisAdvice) > 0 {
|
2018
|
2018
|
service.UpdateHisAdviceObj(schedule.PatientId, schedule.ScheduleDate, adminINfo.CurrentOrgId)
|
2019
|
2019
|
}
|
2020
|
2020
|
}
|