Ver código fonte

Merge branch 'dev/2.9.38_fu' of jianyu/ent_new into feature/v2.9.38

fuwencai 1 ano atrás
pai
commit
693342596f
1 arquivos alterados com 4 adições e 1 exclusões
  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, count, countLimit
+	if count > countLimit {
+		count = countLimit
+	}
+	return cinfoarr, countLimit, count
 }
 
 // 获取关注项目数量限制