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
65e558ee
Commit
65e558ee
authored
Sep 05, 2019
by
data爬虫-冯 军凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请单数据清洗test
parent
97c6a01b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
ApplyListExportToBizFlowMain.java
...oup/dbc/spark/applyList/ApplyListExportToBizFlowMain.java
+20
-20
No files found.
src/main/java/cn/quantgroup/dbc/spark/applyList/ApplyListExportToBizFlowMain.java
View file @
65e558ee
...
...
@@ -127,31 +127,31 @@ public class ApplyListExportToBizFlowMain {
// JdbcExecuters.prepareBatchUpdateExecuteApply(sql, applyListRows);
// applyListRows.clear();
// }
Object
channel
=
result
.
getAs
(
"channel"
);
if
(
Objects
.
isNull
(
channel
)){
System
.
out
.
println
(
"channel 为空--->"
+
result
.
toString
());
channelLongAccumulator
.
add
(
1
);
}
Object
product_type
=
result
.
getAs
(
"product_type"
);
if
(
Objects
.
isNull
(
product_type
)){
System
.
out
.
println
(
"product_type 为空--->"
+
result
.
toString
());
productTypeLongAccumulator
.
add
(
1
);
}
//
Object channel = result.getAs("channel");
//
if(Objects.isNull(channel)){
//
System.out.println("channel 为空--->"+result.toString());
//
channelLongAccumulator.add(1);
//
}
//
Object product_type = result.getAs("product_type");
//
if(Objects.isNull(product_type)){
//
System.out.println("product_type 为空--->"+result.toString());
//
productTypeLongAccumulator.add(1);
//
}
Object
uuid
=
result
.
getAs
(
"uuid"
);
if
(
Objects
.
isNull
(
uuid
)){
System
.
out
.
println
(
"uuid 为空--->"
+
result
.
toString
());
uuidLongAccumulator
.
add
(
1
);
}
Object
order_no
=
result
.
getAs
(
"order_no"
);
if
(
Objects
.
isNull
(
order_no
)){
System
.
out
.
println
(
"order_no 为空--->"
+
result
.
toString
());
orderNoLongAccumulator
.
add
(
1
);
}
Object
credit_status
=
result
.
getAs
(
"credit_status"
);
if
(
Objects
.
isNull
(
credit_status
)){
System
.
out
.
println
(
"apply_status 为空--->"
+
result
.
toString
());
creditStatusLongAccumulator
.
add
(
1
);
}
//
Object order_no = result.getAs("order_no");
//
if(Objects.isNull(order_no)){
//
System.out.println("order_no 为空--->"+result.toString());
//
orderNoLongAccumulator.add(1);
//
}
//
Object credit_status = result.getAs("credit_status");
//
if(Objects.isNull(credit_status)){
//
System.out.println("apply_status 为空--->"+result.toString());
//
creditStatusLongAccumulator.add(1);
//
}
}
catch
(
Exception
e
)
{
...
...
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