Ver código fonte

Merge branch '20230223_xt_api_new_branch' of http://git.shengws.com/csx/XT_New into 20230223_xt_api_new_branch

陈少旭 2 meses atrás
pai
commit
9117da8eb2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      service/schedule_service.go

+ 1 - 1
service/schedule_service.go Ver arquivo

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