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
c657264f
Commit
c657264f
authored
Nov 20, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不过滤犹豫期
parent
e67e8d7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
+1
-1
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+4
-5
No files found.
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
View file @
c657264f
...
...
@@ -178,7 +178,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
private
PageInfo
<
ComeCommissionVO
>
queryComeCommissionListPage
(
QueryComeCommissionListRequestVO
requestVO
)
{
PageInfo
<
ComeCommissionVO
>
page
=
requestVO
.
getPage
();
String
orderBy
=
"orderDate
de
sc"
;
String
orderBy
=
"orderDate
a
sc"
;
PageHelper
.
startPage
(
page
.
getPageNum
(),
page
.
getPageSize
(),
orderBy
);
...
...
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
c657264f
...
...
@@ -23,7 +23,7 @@
plan_id, insurer_id, order_date, commission_check_at
from ag_po_order t
where t.status in (3,4) and policy_no is not null
and (t.plan_id not in (424,453,464) or t.plan_id is n
ot n
ull)
and (t.plan_id not in (424,453,464) or t.plan_id is null)
) o
left join ag_po_order_commission_check c on o.commission_check_id = c.id
left join (select p.id, p.name, pc.name categoryName
...
...
@@ -37,11 +37,10 @@
left join ag_product_category proc on proc.id = pro.product_category_id
) a on o.plan_id = a.id
left join ag_acl_insurer i on o.insurer_id = i.id
left join (select order_id,withdrawable_date from ag_acl_customer_fortune group by order_id,withdrawable_date) f on o.id = f.order_id
left join (SELECT
order_id,
CASE WHEN factor_name = '保险期间' THEN element_text END
coverageTerm,
CASE WHEN factor_name = '缴费年限' THEN element_text END
payTerm
MAX(CASE WHEN factor_name = '保险期间' THEN element_text END)
coverageTerm,
MAX(CASE WHEN factor_name = '缴费年限' THEN element_text END)
payTerm
FROM ag_po_order_life_product_elements t
GROUP BY order_id
) e on e.order_id = o.id
...
...
@@ -52,7 +51,7 @@
</when>
<otherwise>
<if
test=
"compareDate != null"
>
and date_format(
f.withdrawable_date, '%Y-%m')
<
= #{compareDate}
and date_format(
o.order_date, '%Y-%m')
= #{compareDate}
</if>
<if
test=
"insurerId != null"
>
and o.insurer_id = #{insurerId}
...
...
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