有效期13
This commit is contained in:
parent
764c1a3b94
commit
9eb46b41cf
@ -75,7 +75,11 @@ func (r *VideoDao) GetVideoList(maps interface{}) (m []*model.Video, err error)
|
||||
|
||||
// GetVideoListNotIn 获取列表
|
||||
func (r *VideoDao) GetVideoListNotIn(maps interface{}, ids []int64) (m []*model.Video, err error) {
|
||||
err = global.Db.Where(maps).Where("video_id NOT IN ?", ids).Find(&m).Error
|
||||
err = global.Db.Where(maps).
|
||||
Preload("VideoAuthor").
|
||||
Preload("VideoAuthor.BaseHospital").
|
||||
Where("video_id NOT IN ?", ids).
|
||||
Find(&m).Error
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user