Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
funasr_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8971db33
authored
Dec 19, 2024
by
‘chizw’
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]SQL优化
1 parent
7e216c2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
mysql_service/mysql_pool.py
mysql_service/mysql_pool.py
View file @
8971db3
...
@@ -79,7 +79,8 @@ class ConnPool:
...
@@ -79,7 +79,8 @@ class ConnPool:
def
update_one
(
self
,
sql
,
args
):
def
update_one
(
self
,
sql
,
args
):
"""更新数据"""
"""更新数据"""
log
.
info
(
f
"execute_update_one sql:{sql}"
%
args
)
log
.
info
(
f
"execute_update_one sql:{sql}"
%
args
)
self
.
execute
(
sql
,
args
,
isNeed
=
True
)
result
=
self
.
execute
(
sql
,
args
,
isNeed
=
True
)
log
.
info
(
f
"execute_update_one result:{result}"
)
return
True
return
True
def
delete_one
(
self
,
sql
,
*
args
):
def
delete_one
(
self
,
sql
,
*
args
):
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment