Browse Source

wip:数据量

wangshan 6 months ago
parent
commit
3240c9b51e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/jfw/modules/publicapply/src/detail/dao/ahead.go

+ 1 - 0
src/jfw/modules/publicapply/src/detail/dao/ahead.go

@@ -92,6 +92,7 @@ func (a *AheadStruct) Ahead() (eri *entity.AheadRecommend) {
 		if total > 0 {
 			if repl != nil && *repl != nil && len(*repl) > 0 {
 				list = a.Format(*repl)
+				total = int64(len(list))
 			}
 		}
 	}