...
|
...
|
@@ -95,7 +95,7 @@ func GetChanceFavorites(userId, companyId int64, markFlag, sourceType int, lastI |
|
|
sql.Limit(0, pageSize)
|
|
|
}
|
|
|
if lastId > 0 {
|
|
|
sql.Where(fmt.Sprintf("id>%d", lastId))
|
|
|
sql.Where(fmt.Sprintf("id<%d", lastId))
|
|
|
}
|
|
|
if total, err = sql.Querys(&v); err == nil {
|
|
|
return
|
...
|
...
|
|