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
cc7ac83e
Commit
cc7ac83e
authored
Feb 18, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放款报送SQL优化
parent
f2a72de9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
LoanInfoMapper.xml
...es/cn/quantgroup/report/mapper/baihang/LoanInfoMapper.xml
+12
-8
No files found.
src/main/resources/cn/quantgroup/report/mapper/baihang/LoanInfoMapper.xml
View file @
cc7ac83e
...
@@ -340,12 +340,14 @@
...
@@ -340,12 +340,14 @@
left join business_flow_i_apply_list i on d.order_no=i.apply_no
left join business_flow_i_apply_list i on d.order_no=i.apply_no
left join xyqb_i_waiting_funding_corp_operate_people j on a.loan_application_history_id=j.loan_application_history_id
left join xyqb_i_waiting_funding_corp_operate_people j on a.loan_application_history_id=j.loan_application_history_id
where a.funding_corp_id in (420,520,580,650,670,810,240,640,700) and
where
e.term_no=a.contract_term and g.term_no=1
a.loan_paid_at>= #{startTime,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)
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)
and a.loan_paid_at>= #{startTime,jdbcType=VARCHAR}
;
and a.loan_paid_at
<
#{endTime,jdbcType=VARCHAR};
<!--p2p 2019.12.13-->
<!--p2p 2019.12.13-->
<!--select a.loan_application_history_id reqID
<!--select a.loan_application_history_id reqID
...
@@ -441,12 +443,14 @@
...
@@ -441,12 +443,14 @@
left join business_flow_i_apply_list i on d.order_no=i.apply_no
left join business_flow_i_apply_list i on d.order_no=i.apply_no
left join xyqb_i_waiting_funding_corp_operate_people j on a.loan_application_history_id=j.loan_application_history_id
left join xyqb_i_waiting_funding_corp_operate_people j on a.loan_application_history_id=j.loan_application_history_id
where a.funding_corp_id in (880,890) and
where
e.term_no=a.contract_term and g.term_no=1
a.loan_paid_at>= #{startTime,jdbcType=VARCHAR}
and a.loan_paid_at
<
#{endTime,jdbcType=VARCHAR}
and a.funding_corp_id in (880,890)
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)
and a.loan_paid_at>= #{startTime,jdbcType=VARCHAR}
;
and a.loan_paid_at
<
#{endTime,jdbcType=VARCHAR};
</select>
</select>
...
...
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