Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
f439a9d0
Commit
f439a9d0
authored
Dec 22, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来佣比对里, ”已比对“查询条件查出已退保的保单
parent
52621cd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+2
-2
No files found.
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
f439a9d0
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
CONCAT(payment_term, (case payment_term_unit when 'Y' then '年' when 'M' then '月' else '日' END)) payTerm,
CONCAT(payment_term, (case payment_term_unit when 'Y' then '年' when 'M' then '月' else '日' END)) payTerm,
CONCAT(cover_term, cover_term_type) coverageTerm
CONCAT(cover_term, cover_term_type) coverageTerm
from ag_po_order t
from ag_po_order t
where t.status
in (3,4)
and policy_no is not null
where t.status
= 3
and policy_no is not null
and (t.plan_id not in (424,453,464) or t.plan_id is null)
and (t.plan_id not in (424,453,464) or t.plan_id is null)
) o
) o
left join ag_po_order_commission_check c on o.commission_check_id = c.id
left join ag_po_order_commission_check c on o.commission_check_id = c.id
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
from (SELECT order_price, commission_amount, commission_check_status, commission_check_id, order_date,
from (SELECT order_price, commission_amount, commission_check_status, commission_check_id, order_date,
insurer_id,id
insurer_id,id
from ag_po_order t
from ag_po_order t
where t.status
in (3,4)
and policy_no is not null
where t.status
= 3
and policy_no is not null
and (t.plan_id not in (424,453,464) or t.plan_id is null)
and (t.plan_id not in (424,453,464) or t.plan_id is null)
) o
) o
left join ag_po_order_commission_check c on o.commission_check_id = c.id
left join ag_po_order_commission_check c on o.commission_check_id = c.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