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
c098b7a8
Commit
c098b7a8
authored
Aug 05, 2021
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对象置空
parent
c0329b15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
BaiHangFileReportService.java
...roup/report/service/baihang/BaiHangFileReportService.java
+14
-2
No files found.
src/main/java/cn/quantgroup/report/service/baihang/BaiHangFileReportService.java
View file @
c098b7a8
...
...
@@ -28,8 +28,6 @@ import org.springframework.stereotype.Service;
import
org.springframework.util.CollectionUtils
;
import
java.io.File
;
import
java.time.LocalDateTime
;
import
java.time.format.DateTimeFormatter
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.atomic.AtomicInteger
;
...
...
@@ -409,6 +407,8 @@ public class BaiHangFileReportService {
log
.
info
(
"量化派助贷TO百行报送(D3)-逾期记录完成,开始时间: {} , 结束时间: {} , 实际大小: {} , 报送成功大小: {} , 耗时: {} "
,
startTime
,
endTime
,
repaymentLoanInfos
.
size
(),
atomicInteger
.
get
(),
sendWatch
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
));
}
catch
(
Exception
e
)
{
log
.
error
(
"量化派助贷TO百行报送(D3)-逾期记录处理异常,开始时间: {} , 结束时间: {} "
,
startTime
,
endTime
,
e
);
}
finally
{
clear
(
repaymentLoanInfos
,
recordList
,
reportList
);
}
}
...
...
@@ -481,6 +481,8 @@ public class BaiHangFileReportService {
log
.
info
(
"量化派助贷TO百行报送(D3)-每30天逾期记录完成,开始时间: {} , 结束时间: {} , 实际大小: {} , 报送成功大小: {} , 耗时: {} "
,
startTime
,
endTime
,
repaymentLoanInfos
.
size
(),
atomicInteger
.
get
(),
sendWatch
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
));
}
catch
(
Exception
e
)
{
log
.
error
(
"量化派助贷TO百行报送(D3)-每30天逾期记录处理异常,开始时间: {} , 结束时间: {} "
,
startTime
,
endTime
,
e
);
}
finally
{
clear
(
idInfos
,
repaymentLoanInfos
,
tempRepaymentLoanInfos
,
recordList
,
reportList
);
}
}
...
...
@@ -535,6 +537,16 @@ public class BaiHangFileReportService {
log
.
info
(
"量化派助贷TO百行报送(D3)-还款记录完成,开始时间: {} , 结束时间: {} , 实际大小: {} , 报送成功大小: {} , 耗时: {} "
,
startTime
,
endTime
,
repaymentLoanInfos
.
size
(),
atomicInteger
.
get
(),
sendWatch
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
));
}
catch
(
Exception
e
)
{
log
.
error
(
"量化派助贷TO百行报送(D3)-还款记录处理异常,开始时间: {} , 结束时间: {} "
,
startTime
,
endTime
,
e
);
}
finally
{
clear
(
repaymentLoanInfos
,
recordList
,
reportList
);
}
}
private
void
clear
(
Collection
...
collections
)
{
for
(
Collection
col
:
collections
)
{
if
(!
CollectionUtils
.
isEmpty
(
col
))
{
col
.
clear
();
}
}
}
...
...
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