test_user 1 year ago
parent
commit
3446acdb41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/dialysis_record_api_controller.go

+ 1 - 1
controllers/dialysis_record_api_controller.go View File

889
 
889
 
890
 	schedule, err := service.GetDayScheduleByBedid(adminUserInfo.CurrentOrgId, schedulestartTime, bedID, schedual_type)
890
 	schedule, err := service.GetDayScheduleByBedid(adminUserInfo.CurrentOrgId, schedulestartTime, bedID, schedual_type)
891
 
891
 
892
-	//查询该床位是否有人用了
892
+	//查询该床位是否有人上机
893
 	order, order_err := service.GetDialysisOrderByBedId(adminUserInfo.CurrentOrgId, schedulestartTime, bedID, schedual_type)
893
 	order, order_err := service.GetDialysisOrderByBedId(adminUserInfo.CurrentOrgId, schedulestartTime, bedID, schedual_type)
894
 
894
 
895
 	if err == gorm.ErrRecordNotFound { //空床位
895
 	if err == gorm.ErrRecordNotFound { //空床位