XMLWAN vor 3 Jahren
Ursprung
Commit
f066704108
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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