model/contact.go
@@ -168,4 +168,8 @@ func (slf *ContactSearch) SetOrder(order string) *ContactSearch { slf.OrderBy = order return slf } } func (slf *ContactSearch) SetIds(ids []int) *ContactSearch { slf.Orm = slf.Orm.Where("id in (?)", ids) return slf }