Ver código fonte

历史排班

28169 1 ano atrás
pai
commit
7740485b16
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      service/patient_service.go

+ 1 - 1
service/patient_service.go Ver arquivo

@@ -2935,7 +2935,7 @@ func UpdateDialysisBefor(dislysis models.XtAssessmentBeforeDislysis, id int64) e
2935 2935
 
2936 2936
 func GetAllSchedulesByPatientInfo(org_id int64, patient_id int64, mode_id int64) ([]Schedule, error) {
2937 2937
 	var record []Schedule
2938
-	if org_id == 10597 {
2938
+	if org_id == 10579 {
2939 2939
 		timeNowStr := time.Now().Format("2006-01-02")
2940 2940
 		timeNewDate, _ := utils.ParseTimeStringToTime("2006-01-02", timeNowStr)
2941 2941
 		err := readDb.Model(&Schedule{}).Where("status = 1 AND schedule_date >? AND patient_id = ? AND user_org_id = ? AND mode_id= ?", timeNewDate.Unix(), patient_id, org_id, mode_id).Find(&record).Error