|
@@ -510,7 +510,9 @@ func (this *XcxApiController) GetMobileSchedule() {
|
510
|
510
|
|
511
|
511
|
fmt.Println("timeNowUnix", timeNowUnix.Unix())
|
512
|
512
|
//获取该患者最后一次排班
|
513
|
|
- list, _ := service.GetLastScheduleList(patientID)
|
|
513
|
+ list, _ := service.GetLastScheduleListOne(patientID, timeNowUnix.Unix())
|
|
514
|
+ fmt.Println("hh2332323232323223", list)
|
|
515
|
+ fmt.Println("list233232232332", list.ScheduleDate)
|
514
|
516
|
patient, getPatientErr := service.MobileGetPatientDetail(info.UserOrgId, patientID)
|
515
|
517
|
if getPatientErr != nil {
|
516
|
518
|
this.ErrorLog("获取患者信息失败:%v", getPatientErr)
|