Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
study_gitlab
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqf
study_gitlab
Commits
5298aca4
Commit
5298aca4
authored
Aug 10, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第八次提交
parent
9c227b02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
InterfaceAutoTest/common/db.py
+2
-3
No files found.
InterfaceAutoTest/common/db.py
View file @
5298aca4
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Author: xxxxxxx
# Author: xxxxxxx
# Datetime: 2023/8/7 15:26
# Datetime: 2023/8/7 15:26
# Description:
# Description:
#
#
hhhhhhh
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
import
pymysql
import
pymysql
from
InterfaceAutoTest.common.read_ini
import
ReadIni
from
InterfaceAutoTest.common.read_ini
import
ReadIni
...
@@ -38,4 +38,4 @@ class DB:
...
@@ -38,4 +38,4 @@ class DB:
self
.
cursor
.
execute
(
sql_sentence
)
self
.
cursor
.
execute
(
sql_sentence
)
result
=
self
.
cursor
.
fetchall
()
result
=
self
.
cursor
.
fetchall
()
if
result
:
if
result
:
return
result
[
0
][
0
]
return
result
[
0
][
0
]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment