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