Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
baihang-report
Commits
c9e4fb02
Commit
c9e4fb02
authored
Dec 23, 2019
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
D3筛选工具开发
parent
81ca39a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
153 additions
and
136 deletions
+153
-136
ManualToolService.java
...antgroup/report/service/manualTool/ManualToolService.java
+153
-136
No files found.
src/main/java/cn/quantgroup/report/service/manualTool/ManualToolService.java
View file @
c9e4fb02
...
...
@@ -1092,6 +1092,7 @@ public class ManualToolService implements CommonSuperService {
* 创建时间: 2019.12.22 <br/>
*/
public
static
String
remove_D3_loanId_chunfu
(
String
oldDataFile
,
String
cfLoanIdLogFile
,
String
newFileName
,
String
rmIdFileName
,
String
rmPhoneFileName
)
{
try
{
List
<
String
>
logicerrorList
=
ReadOrWriteTxt
.
readTxtList
(
cfLoanIdLogFile
);
Map
<
String
,
String
>
err_log_loanIdMap
=
new
HashMap
<>(
logicerrorList
.
size
());
for
(
String
strs
:
logicerrorList
){
...
...
@@ -1151,8 +1152,12 @@ public class ManualToolService implements CommonSuperService {
}
log
.
info
(
"remove_D3_loanId_chunfu end, lineList="
+
lineList
.
size
()+
",totalCount="
+
totalCount
+
",removeCount="
+
removeCount
+
",removeCount2="
+
removeCount2
+
", 合="
+(
totalCount
+
removeCount
+
removeCount2
));
return
"lineList="
+
lineList
.
size
()+
",totalCount="
+
totalCount
+
",removeCount="
+
removeCount
+
",removeCount2="
+
removeCount2
+
", 合="
+(
totalCount
+
removeCount
+
removeCount2
);
}
catch
(
Exception
e
){
log
.
error
(
"check_D3loanId_InD2 Error,"
,
e
);
}
return
null
;
}
/**
...
...
@@ -1163,6 +1168,7 @@ public class ManualToolService implements CommonSuperService {
* 创建时间: 2019.12.22 <br/>
*/
public
static
String
check_D3loanId_InD2
(
String
d3LoanIdFile
,
String
d2File
,
String
inFileName
,
String
notInFileName
)
{
try
{
List
<
String
>
d2DataList
=
ReadOrWriteTxt
.
readTxtList
(
d2File
);
Map
<
String
,
String
>
d2_loanIdMap
=
new
HashMap
<>(
d2DataList
.
size
());
int
d2size
=
0
;
...
...
@@ -1215,6 +1221,10 @@ public class ManualToolService implements CommonSuperService {
}
log
.
info
(
"d3LoanIdList="
+
d3LoanIdList
.
size
()+
",d2_loanIdMap="
+
d2_loanIdMap
.
size
()+
",in="
+
in
+
",notin="
+
notin
);
return
"d3LoanIdList="
+
d3LoanIdList
.
size
()+
",d2_loanIdMap="
+
d2_loanIdMap
.
size
()+
",in="
+
in
+
",notin="
+
notin
;
}
catch
(
Exception
e
){
log
.
error
(
"check_D3loanId_InD2 Error,"
,
e
);
}
return
null
;
}
/**
...
...
@@ -1225,6 +1235,7 @@ public class ManualToolService implements CommonSuperService {
* 创建时间: 2019.12.22 <br/>
*/
public
static
String
check_D2loanId_InD3WanJie
(
String
d3LoanIdFile
,
String
d2File
,
String
notWJFileName
)
{
try
{
List
<
String
>
d2DataList
=
ReadOrWriteTxt
.
readTxtList
(
d2File
);
Map
<
String
,
String
>
d2_loanIdMap
=
new
HashMap
<>(
d2DataList
.
size
());
int
d2size
=
0
;
...
...
@@ -1303,6 +1314,10 @@ public class ManualToolService implements CommonSuperService {
}
return
"check_D2loanId_InD3WanJie d2_loanIdMapSize:"
+
d2_loanIdMapSize
+
",d2rmCount="
+
d2rmCount
+
",d2have="
+
d2_loanIdMap
.
size
();
}
catch
(
Exception
e
){
log
.
error
(
"check_D3loanId_InD2 Error,"
,
e
);
}
return
null
;
}
...
...
@@ -1748,9 +1763,8 @@ public class ManualToolService implements CommonSuperService {
logicerror_035_List
=
null
;
manualGC
();
String
[]
all_id3_fileNames
=
{
"ok1_D3_20161101_20180801.txt"
,
"ok2_D3_20180801_20181117.txt"
,
"ok3_D3_20181117_20190201.txt"
,
"ok4_D3_20190201_20190410.txt"
,
"ok5_D3_20190410_20190701.txt"
,
"ok6_D3_20190701_20190910.txt"
,
"ok9_D3_20191025_0027.txt"
};
//"ok1_D3_20161101_20180801.txt","ok2_D3_20180801_20181117.txt","ok3_D3_20181117_20190201.txt", "ok4_D3_20190201_20190410.txt","ok5_D3_20190410_20190701.txt","ok6_D3_20190701_20190910.txt","ok9_D3_20191025_0027.txt"
String
[]
all_id3_fileNames
=
{
"ok6_D3_20190701_20190910.txt"
,
"ok9_D3_20191025_0027.txt"
};
List
<
String
>
d3lineList
=
null
;
RepaymentInfoZhuDai
repaymentLoanInfo
=
null
;
...
...
@@ -1789,6 +1803,9 @@ public class ManualToolService implements CommonSuperService {
}
}
System
.
out
.
println
(
fileName
+
":build D3 end."
);
d3lineList
=
null
;
repaymentLoanInfo
=
null
;
manualGC
();
}
System
.
out
.
println
(
"All d3_logicerror_20191223() end."
);
...
...
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