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
ddbfe8f9
Commit
ddbfe8f9
authored
Apr 06, 2022
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来佣比对查询, 已审核的数据
parent
af1102c6
Show 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 @
ddbfe8f9
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
o.broker_customer_id,
o.broker_customer_id,
o.cover_term_type coverageTerm,
o.cover_term_type coverageTerm,
CONCAT(o.payment_term, (case o.payment_term_unit when 'Y' then '年' when 'M' then '月' else '
日
' END)) payTerm
CONCAT(o.payment_term, (case o.payment_term_unit when 'Y' then '年' when 'M' then '月' else '
年
' END)) payTerm
from ag_po_order_commission oc
from ag_po_order_commission oc
left join
left join
(SELECT id, order_price, product_id,
(SELECT id, order_price, product_id,
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
payment_term, payment_term_unit,broker_customer_id,
payment_term, payment_term_unit,broker_customer_id,
cover_term_type
cover_term_type
from ag_po_order t
from ag_po_order t
where t.status
in (3,4)
and t.policy_no is not null
where t.status
=3 and t.payment_status=3
and t.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 ON o.id = oc.order_id
) o ON o.id = oc.order_id
left join ag_product_life_commission_base b on oc.commission_base_id = b.id
left join ag_product_life_commission_base b on oc.commission_base_id = b.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