ezKit 1.12.37__tar.gz → 1.12.38__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ezkit-1.12.37/ezKit.egg-info → ezkit-1.12.38}/PKG-INFO +1 -1
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/database.py +2 -2
- {ezkit-1.12.37 → ezkit-1.12.38/ezKit.egg-info}/PKG-INFO +1 -1
- {ezkit-1.12.37 → ezkit-1.12.38}/setup.py +1 -1
- {ezkit-1.12.37 → ezkit-1.12.38}/LICENSE +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/MANIFEST.in +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/README.md +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/__init__.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/_file.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/bottle.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/bottle_extensions.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/cipher.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/dockerhub.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/errors.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/fastapix.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/http.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/markdown_to_html.template +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/mongo.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/qywx.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/redis.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/sendemail.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/token.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/utils.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/xftp.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit/zabbix.py +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit.egg-info/SOURCES.txt +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit.egg-info/dependency_links.txt +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit.egg-info/requires.txt +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/ezKit.egg-info/top_level.txt +0 -0
- {ezkit-1.12.37 → ezkit-1.12.38}/setup.cfg +0 -0
@@ -731,7 +731,7 @@ async def async_create_and_count(db: DatabaseAsyncSession, schema: Type[Declarat
|
|
731
731
|
async def async_read_and_count(db: DatabaseAsyncSession, table_name: str, data: dict, statement_prefix: str, statement_end: str = "") -> dict:
|
732
732
|
|
733
733
|
# 初始返回结果 (适用于 count 等于 0)
|
734
|
-
result = {"count": 0, "
|
734
|
+
result = {"count": 0, "list": [], "pageIndex": data["pageIndex"], "pageSize": 0}
|
735
735
|
|
736
736
|
# ----------------------------------------------------------------------------------------------
|
737
737
|
|
@@ -770,7 +770,7 @@ async def async_read_and_count(db: DatabaseAsyncSession, table_name: str, data:
|
|
770
770
|
|
771
771
|
# 数据整合
|
772
772
|
result["count"] = count_result
|
773
|
-
result["
|
773
|
+
result["list"] = read_result
|
774
774
|
result["pageSize"] = len(read_result)
|
775
775
|
|
776
776
|
# ----------------------------------------------------------------------------------------------
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|