Kaynağa Gözat

历史排班

28169 2 ay önce
ebeveyn
işleme
83ff7452b1
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      service/schedule_service.go

+ 1 - 1
service/schedule_service.go Dosyayı Görüntüle

@@ -131,7 +131,7 @@ func GetWeekScheduleTwo(orgID int64, start, end int64, schIds []string, schedule
131 131
 
132 132
 func GetWeekScheduleFive(orgID int64, start, end int64, schIds []string, scheduletype int64) (schedules []*models.ScheduleTwo, err error) {
133 133
 
134
-	db := readDb.Table("xt_schedule as s").Where("s.status=1 and s.dialysis_machine_name='")
134
+	db := readDb.Table("xt_schedule as s").Where("s.status=1 and s.dialysis_machine_name=''")
135 135
 	if len(schIds) > 0 {
136 136
 		db = db.Where("s.partition_id in (?)", schIds)
137 137
 	}