query.go 313 B

123456789
  1. package teleconference
  2. import "hongze/hongze_yb/global"
  3. // GetTeleconferenceList 获取电话会列表
  4. func GetTeleconferenceList(condition string, pars []interface{}) (list []*Teleconference, err error) {
  5. err = global.DEFAULT_MYSQL.Model(Teleconference{}).Where(condition, pars...).Scan(&list).Error
  6. return
  7. }