XMLWAN 3 лет назад
Родитель
Сommit
f066704108
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1 1
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

+ 1 - 1
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go Просмотреть файл

@@ -257,7 +257,7 @@ func (this *XcxApiController) GetScheduleInfo() {
257 257
 	prescription, _ := service.GetTodayPrescription(timeNowUnix.Unix(), patient_id)
258 258
 
259 259
 	//获取下一次排班信息
260
-	patientSchedule, _ := service.GetNextPatientSchedule(1, timeNowUnix.Unix())
260
+	patientSchedule, _ := service.GetNextPatientSchedule(patient_id, timeNowUnix.Unix())
261 261
 	if err != nil {
262 262
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
263 263
 		return