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
f5d84e1a
Commit
f5d84e1a
authored
Jun 04, 2021
by
郑建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂时不搞实时报送兰银和平银
parent
c07f4510
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
LoanInfoMapper.xml
...es/cn/quantgroup/report/mapper/baihang/LoanInfoMapper.xml
+1
-1
RepaymentLoanInfoMapper.xml
...ntgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
+2
-2
No files found.
src/main/resources/cn/quantgroup/report/mapper/baihang/LoanInfoMapper.xml
View file @
f5d84e1a
...
@@ -343,7 +343,7 @@
...
@@ -343,7 +343,7 @@
where
where
a.loan_paid_at>= #{startTime,jdbcType=VARCHAR}
a.loan_paid_at>= #{startTime,jdbcType=VARCHAR}
and a.loan_paid_at
<
#{endTime,jdbcType=VARCHAR}
and a.loan_paid_at
<
#{endTime,jdbcType=VARCHAR}
and a.funding_corp_id in (420,520,580,650,670,810,240,640,700
,1080,100040,1030,100030
)
and a.funding_corp_id in (420,520,580,650,670,810,240,640,700)
and e.term_no=a.contract_term and g.term_no=1
and e.term_no=a.contract_term and g.term_no=1
and a.contract_term not in (2,3)
and a.contract_term not in (2,3)
and a.transaction_status in (2,5)
and a.transaction_status in (2,5)
...
...
src/main/resources/cn/quantgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
View file @
f5d84e1a
...
@@ -483,7 +483,7 @@
...
@@ -483,7 +483,7 @@
where (a.repayment_status !=3 or (a.repayment_status =3 and a.repaid_at>= #{endTime,jdbcType=VARCHAR})) and
where (a.repayment_status !=3 or (a.repayment_status =3 and a.repaid_at>= #{endTime,jdbcType=VARCHAR})) and
if(b.contract_term>a.term_no,DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)=0,DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)>=0)
if(b.contract_term>a.term_no,DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)=0,DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)>=0)
and floor(DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)/30)=DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)/30
and floor(DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)/30)=DATEDIFF( #{endTime,jdbcType=VARCHAR},a.deadline)/30
and b.funding_corp_id in (420,520,580,650,670,810,240,640,700
,1080,100040,1030,100030
)
and b.funding_corp_id in (420,520,580,650,670,810,240,640,700)
and b.transaction_status in (2,5)
and b.transaction_status in (2,5)
and b.contract_term not in (2,3)
and b.contract_term not in (2,3)
) a
) a
...
@@ -499,7 +499,7 @@
...
@@ -499,7 +499,7 @@
left join xyqb.loan_application_manifest_history b on a.loan_application_history_id=b.loan_application_history_id
left join xyqb.loan_application_manifest_history b on a.loan_application_history_id=b.loan_application_history_id
left join xyqb.repayment_record g on a.id=g.repayment_plan_id
left join xyqb.repayment_record g on a.id=g.repayment_plan_id
left join xyqb.plan_amount_detail h on a.id=h.plan_id
left join xyqb.plan_amount_detail h on a.id=h.plan_id
where b.funding_corp_id in (420,520,580,650,670,810,240,640,700
,1080,100040,1030,100030
)
where b.funding_corp_id in (420,520,580,650,670,810,240,640,700)
group by a.loan_application_history_id
group by a.loan_application_history_id
) f on a.loan_application_history_id=f.loan_application_history_id
) f on a.loan_application_history_id=f.loan_application_history_id
left join xyqb.repayment_record g on a.id=g.repayment_plan_id;
left join xyqb.repayment_record g on a.id=g.repayment_plan_id;
...
...
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