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
9d0f5daa
Commit
9d0f5daa
authored
Jul 08, 2021
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1080,100040,1030,100030
parent
19d1e82f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
BaiHangFileReportService.java
...roup/report/service/baihang/BaiHangFileReportService.java
+0
-10
ApplyLoanInfoMapper.xml
.../quantgroup/report/mapper/baihang/ApplyLoanInfoMapper.xml
+1
-1
No files found.
src/main/java/cn/quantgroup/report/service/baihang/BaiHangFileReportService.java
View file @
9d0f5daa
...
...
@@ -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
;
...
...
@@ -122,17 +120,9 @@ public class BaiHangFileReportService {
BaiHangTimeRecord
timeRecord
=
BaiHangTimeRecord
.
builder
().
startTime
(
starTime
).
endTime
(
endTime
).
build
();
List
<
ApplyLoanInfoZhuDai
>
applyLoanInfos
=
applyLoanInfoMapper
.
findRealTimeApplyLoanZhuDai
(
timeRecord
);
log
.
info
(
"量化派助贷TO百行报送(A1)-非联合贷申请查询完成, 大小: {} , 耗时: {} "
,
(
applyLoanInfos
!=
null
?
applyLoanInfos
.
size
()
:
0
),
(
queryWatch1
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
)
/
1000
)
+
".s"
);
Stopwatch
queryWatch2
=
Stopwatch
.
createStarted
();
List
<
ApplyLoanInfoZhuDai
>
applyLoanInfosLh
=
applyLoanInfoMapper
.
findRealTimeApplyLoanZhuDaiLh
(
timeRecord
);
log
.
info
(
"量化派助贷TO百行报送(A1)-联合贷申请查询完成, 大小: {} , 耗时: {} "
,
(
applyLoanInfosLh
!=
null
?
applyLoanInfosLh
.
size
()
:
0
),
(
queryWatch2
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
)
/
1000
)
+
".s"
);
if
(
applyLoanInfos
==
null
)
{
applyLoanInfos
=
new
ArrayList
<
ApplyLoanInfoZhuDai
>();
}
if
(
applyLoanInfosLh
!=
null
&&
applyLoanInfosLh
.
size
()
>
0
)
{
applyLoanInfos
.
addAll
(
applyLoanInfosLh
);
}
AtomicInteger
atomicInteger
=
new
AtomicInteger
();
Stopwatch
sendWatch
=
Stopwatch
.
createStarted
();
List
<
String
>
reportList
=
new
ArrayList
<>();
...
...
src/main/resources/cn/quantgroup/report/mapper/baihang/ApplyLoanInfoMapper.xml
View file @
9d0f5daa
...
...
@@ -68,7 +68,7 @@
left join business_flow.apply_list i on d.order_no=i.apply_no
left join xyqb.loan_base_info j on a.loan_application_history_id=j.loan_id
where a.funding_corp_id in (
420,520,580,650,670,810,240,640,70
0)
where a.funding_corp_id in (
1080,100040,1030,10003
0)
and a.contract_term not in (2,3)
and a.transaction_status in (2,5)
and case when i.created_at is null and h.created_at
<
=f.created_at then h.created_at
...
...
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