wangshan 6 сар өмнө
parent
commit
3240c9b51e

+ 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))
 			}
 		}
 	}