Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
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
YZG
yzg-util
Commits
4882f071
Commit
4882f071
authored
May 08, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消除成功接收处理
parent
ba0afae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
DbExecuteImpl.java
.../src/main/java/com/yanzuoguang/db/impl/DbExecuteImpl.java
+3
-2
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/db/impl/DbExecuteImpl.java
View file @
4882f071
...
...
@@ -18,6 +18,7 @@ import java.util.List;
/**
* 数据库操作类
*
* @author 颜佐光
*/
@Component
...
...
@@ -73,7 +74,7 @@ public class DbExecuteImpl implements DbExecute {
long
start
=
System
.
currentTimeMillis
();
try
{
sql
=
this
.
handleParas
(
sql
,
paras
);
jdbc
.
query
(
sql
,
paras
,
new
RowCallbackHandler
()
{
jdbc
.
query
(
sql
,
new
RowCallbackHandler
()
{
@Override
public
void
processRow
(
ResultSet
rs
)
throws
SQLException
{
AllBeanRowMapper
<
T
>
rowMap
=
AllBeanRowMapper
.
getInstance
(
cls
,
configDb
);
...
...
@@ -81,7 +82,7 @@ public class DbExecuteImpl implements DbExecute {
rowHandle
.
handle
(
data
);
row
.
value
++;
}
});
}
,
paras
);
}
finally
{
printSql
.
print
(
targetClass
,
sqlName
,
start
,
row
.
value
,
sql
,
paras
);
}
...
...
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