fuwencai 1 rok temu
rodzic
commit
62debf2e85
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      entniche_new/src/service/customer/entiy.go

+ 4 - 1
entniche_new/src/service/customer/entiy.go

@@ -172,7 +172,10 @@ func (this *CustomerOperation) CList(searchCode string, isCliam int64, entUserId
 			}
 		}
 	}
-	return cinfoarr, countLimit,count
+	if count < countLimit {
+		count = countLimit
+	}
+	return cinfoarr, countLimit, count
 }
 
 // 获取关注项目数量限制