28169 2 miesięcy temu
rodzic
commit
83ff7452b1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      service/schedule_service.go

+ 1 - 1
service/schedule_service.go Wyświetl plik

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