feat: general:l查询总数时,去掉limit offset条件

This commit is contained in:
martsforever
2025-10-16 14:54:24 +08:00
parent 2c7b0e9afe
commit cb54ef584a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ def build_query_sql(query_config, module_config):
query_config_all = get_value(query_config, 'all', False)
if not query_config_all:
if not query_config_all and not query_config_only_count:
sqls.append("limit ?,?")
values.extend([
get_value(query_config, 'offset', 0),