소스 검색

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

陈少旭 2 달 전
부모
커밋
9117da8eb2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      service/schedule_service.go

+ 1 - 1
service/schedule_service.go 파일 보기

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