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