Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
e28cf641
Commit
e28cf641
authored
May 16, 2019
by
赵然
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab2.dui88.com:mabo/test-platform
parents
a297e4ac
feb6e61a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
MysqlConnPool.java
src/test/java/base/MysqlConnPool.java
+4
-1
No files found.
src/test/java/base/MysqlConnPool.java
View file @
e28cf641
...
...
@@ -66,7 +66,7 @@ public class MysqlConnPool {
* @throws SQLException
*/
public
Map
<
String
,
Object
>
findSimpleResult
(
String
sql
,
Object
...
params
)
throws
SQLException
{
log
.
info
(
"findSimpleResult开始~~~~~~~~~~~~~~~~~~~~~"
);
log
.
info
(
"findSimpleResult开始~~~~~~~~~~~~~~~~~~~~~"
+
sql
);
Map
<
String
,
Object
>
map
=
null
;
try
(
Connection
conn
=
bds
.
getConnection
()){
...
...
@@ -120,6 +120,7 @@ public class MysqlConnPool {
* @throws SQLException
*/
public
boolean
update
(
String
sql
,
Object
...
params
)
throws
SQLException
{
log
.
info
(
"update开始~~~~~~~~~~~~~~~~~~~~~"
+
sql
);
Connection
conn
=
null
;
boolean
flag
=
false
;
try
{
...
...
@@ -150,6 +151,8 @@ public class MysqlConnPool {
* @throws SQLException
*/
public
List
<
Map
<
String
,
Object
>>
findModeResult
(
String
sql
,
Object
...
params
)
throws
SQLException
{
log
.
info
(
"findModeResult开始~~~~~~~~~~~~~~~~~~~~~"
+
sql
);
Connection
conn
=
null
;
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<
Map
<
String
,
Object
>>();
try
{
...
...
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