소스 검색

wip:数据量

wangshan 6 달 전
부모
커밋
3240c9b51e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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))
 			}
 		}
 	}