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
3ccc4696
Commit
3ccc4696
authored
Aug 04, 2021
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数组初始值
parent
b307f72c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
BaiHangFileReportService.java
...roup/report/service/baihang/BaiHangFileReportService.java
+8
-6
No files found.
src/main/java/cn/quantgroup/report/service/baihang/BaiHangFileReportService.java
View file @
3ccc4696
...
@@ -64,6 +64,8 @@ public class BaiHangFileReportService {
...
@@ -64,6 +64,8 @@ public class BaiHangFileReportService {
// private static final String HOST_PATH = "C:\\Users\\musterHunter\\Desktop\\TEST_REPORT\\";
// private static final String HOST_PATH = "C:\\Users\\musterHunter\\Desktop\\TEST_REPORT\\";
private
static
final
Integer
D3_INITIAL_CAPACITY
=
5000
;
/**
/**
* 创建报送文件 通常用于存量报送
* 创建报送文件 通常用于存量报送
...
@@ -320,8 +322,8 @@ public class BaiHangFileReportService {
...
@@ -320,8 +322,8 @@ public class BaiHangFileReportService {
* @param endTime 截止时间
* @param endTime 截止时间
*/
*/
private
void
reportD3O
(
String
startTime
,
String
endTime
)
{
private
void
reportD3O
(
String
startTime
,
String
endTime
)
{
List
<
RepaymentInfoZhuDai
>
repaymentLoanInfos
=
null
,
recordList
=
new
ArrayList
<>(
5000
);
List
<
RepaymentInfoZhuDai
>
repaymentLoanInfos
=
null
,
recordList
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
);
List
<
String
>
reportList
=
new
ArrayList
<>(
5000
);
List
<
String
>
reportList
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
);
reportList
.
add
(
"#singleLoanRepayInfo"
);
reportList
.
add
(
"#singleLoanRepayInfo"
);
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
try
{
try
{
...
@@ -374,12 +376,12 @@ public class BaiHangFileReportService {
...
@@ -374,12 +376,12 @@ public class BaiHangFileReportService {
private
void
reportD3OFor30Day
(
String
startTime
,
String
endTime
)
{
private
void
reportD3OFor30Day
(
String
startTime
,
String
endTime
)
{
List
<
LoanApplicationHistoryIdInfo
>
idInfos
=
null
;
List
<
LoanApplicationHistoryIdInfo
>
idInfos
=
null
;
LoanApplicationHistoryIdInfo
idInfo
=
null
;
LoanApplicationHistoryIdInfo
idInfo
=
null
;
List
<
RepaymentInfoZhuDai
>
repaymentLoanInfos
=
new
ArrayList
<>(
5000
),
tempRepaymentLoanInfos
=
null
,
recordList
=
new
ArrayList
<>(
5000
);
List
<
RepaymentInfoZhuDai
>
repaymentLoanInfos
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
),
tempRepaymentLoanInfos
=
null
,
recordList
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
);
Date
stepEndDate
=
null
;
Date
stepEndDate
=
null
;
Integer
step
=
null
;
Integer
step
=
null
;
String
id
=
""
;
String
id
=
""
;
AtomicInteger
atomicInteger
=
new
AtomicInteger
();
AtomicInteger
atomicInteger
=
new
AtomicInteger
();
List
<
String
>
reportList
=
new
ArrayList
<>(
5000
);
List
<
String
>
reportList
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
);
reportList
.
add
(
"#singleLoanRepayInfo"
);
reportList
.
add
(
"#singleLoanRepayInfo"
);
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
try
{
try
{
...
@@ -446,8 +448,8 @@ public class BaiHangFileReportService {
...
@@ -446,8 +448,8 @@ public class BaiHangFileReportService {
* @param endTime 截止时间
* @param endTime 截止时间
*/
*/
private
void
reportD3R
(
String
startTime
,
String
endTime
)
{
private
void
reportD3R
(
String
startTime
,
String
endTime
)
{
List
<
RepaymentInfoZhuDai
>
repaymentLoanInfos
=
null
,
recordList
=
new
ArrayList
<>(
5000
);
List
<
RepaymentInfoZhuDai
>
repaymentLoanInfos
=
null
,
recordList
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
);
List
<
String
>
reportList
=
new
ArrayList
<>(
5000
);
List
<
String
>
reportList
=
new
ArrayList
<>(
D3_INITIAL_CAPACITY
);
reportList
.
add
(
"#singleLoanRepayInfo"
);
reportList
.
add
(
"#singleLoanRepayInfo"
);
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
try
{
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