query.go 334 B

123456789
  1. package teleconference_video
  2. import "hongze/hongze_yb/global"
  3. // GetListByTeleconferenceIds 通过电话会IDs获取集合
  4. func GetListByTeleconferenceIds(ids []int) (list []*TeleconferenceVideo, err error) {
  5. err = global.DEFAULT_MYSQL.Model(TeleconferenceVideo{}).Where("teleconference_id IN (?)", ids).Scan(&list).Error
  6. return
  7. }