Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dbc-spark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
qg-dbc-spark
Commits
c5855d83
Commit
c5855d83
authored
Sep 05, 2019
by
data爬虫-冯 军凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请单数据清洗test
parent
55e4658a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
JdbcExecuters.java
src/main/java/cn/quantgroup/dbc/utils/JdbcExecuters.java
+6
-0
No files found.
src/main/java/cn/quantgroup/dbc/utils/JdbcExecuters.java
View file @
c5855d83
package
cn
.
quantgroup
.
dbc
.
utils
;
import
cn.quantgroup.dbc.spark.applyList.ApplyListRow
;
import
org.apache.commons.lang3.StringUtils
;
import
java.sql.*
;
import
java.util.ArrayList
;
...
...
@@ -131,6 +132,11 @@ public class JdbcExecuters {
ps
.
setString
(
1
,
applyListRow
.
getChannelGroupNo
());
ps
.
setString
(
2
,
applyListRow
.
getChannelId
());
ps
.
setString
(
3
,
applyListRow
.
getProductType
());
String
uuid
=
applyListRow
.
getUuid
();
if
(
StringUtils
.
isBlank
(
uuid
)){
System
.
out
.
println
(
"orderNo: "
+
applyListRow
.
getApplyNo
());
continue
;
}
ps
.
setString
(
4
,
applyListRow
.
getUuid
());
ps
.
setString
(
5
,
applyListRow
.
getApplyNo
());
ps
.
setString
(
6
,
applyListRow
.
getApplyStatus
());
...
...
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