XMLWAN 3 anni fa
parent
commit
f066704108

+ 1 - 1
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go Vedi File

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