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
c3f29ccd
Commit
c3f29ccd
authored
Aug 25, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【ydlife】-【客户管理】-增加查询条件,保单的经纪人2
parent
cdd56a14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
yd-api/src/main/java/com/yd/api/practitioner/vo/practitionerCustomer/QueryPolicyListByHolderCustomerIdRequestVO.java
+2
-2
yd-api/src/main/resources/mapper/customer/AclPolicyholderMapper.xml
+4
-4
No files found.
yd-api/src/main/java/com/yd/api/practitioner/vo/practitionerCustomer/QueryPolicyListByHolderCustomerIdRequestVO.java
View file @
c3f29ccd
...
@@ -4,6 +4,6 @@ import lombok.Data;
...
@@ -4,6 +4,6 @@ import lombok.Data;
@Data
@Data
public
class
QueryPolicyListByHolderCustomerIdRequestVO
{
public
class
QueryPolicyListByHolderCustomerIdRequestVO
{
private
Long
practitionerId
;
private
Long
practitioner
Customer
Id
;
private
Long
c
ustomerId
;
private
Long
holderC
ustomerId
;
}
}
yd-api/src/main/resources/mapper/customer/AclPolicyholderMapper.xml
View file @
c3f29ccd
...
@@ -983,7 +983,6 @@
...
@@ -983,7 +983,6 @@
date_format(o.order_date, '%Y-%m-%d %H:%i:%s') as orderDate,
date_format(o.order_date, '%Y-%m-%d %H:%i:%s') as orderDate,
date_format(o.effective_start_date, '%Y-%m-%d %H:%i:%s') as startDate,
date_format(o.effective_start_date, '%Y-%m-%d %H:%i:%s') as startDate,
date_format(o.effective_end_date, '%Y-%m-%d %H:%i:%s') as endDate,
date_format(o.effective_end_date, '%Y-%m-%d %H:%i:%s') as endDate,
/*f.referral_amount as referralAmount,*/
o.order_price as orderPrice,
o.order_price as orderPrice,
o.plan_id as planId,
o.plan_id as planId,
o.product_id as productId ,
o.product_id as productId ,
...
@@ -991,13 +990,14 @@
...
@@ -991,13 +990,14 @@
a.name planName,
a.name planName,
b.name productName
b.name productName
FROM ag_po_order o
FROM ag_po_order o
inner JOIN ag_acl_customer_fortune f
ON o.id = f.order_id and f.drop_option_code = 'S01' and o.status = 3 and o.order_price
>
0 and o.insurer_id != 888 and o.policy_no is not null
inner JOIN ag_acl_policyholder p ON o.id = p.order_id and p.type = 2
inner JOIN ag_acl_policyholder p ON o.id = p.order_id and p.type = 2
left join ag_product_plan a on o.plan_id = a.id
left join ag_product_plan a on o.plan_id = a.id
left join ag_product b on o.product_id = b.id
left join ag_product b on o.product_id = b.id
WHERE 1=1
WHERE 1=1
and o.status = 3 and o.order_price
>
0 and o.insurer_id != 888 and o.policy_no is not null
and p.customer_id = #{holderCustomerId,jdbcType=BIGINT}
and p.customer_id = #{customerId,jdbcType=BIGINT}
and f.customer_id = #{practitionerCustomerId,jdbcType=BIGINT}
and o.broker_customer_id = #{practitionerId,jdbcType=BIGINT}
</select>
</select>
<select
id=
"queryUsefulInfo"
resultMap=
"customerHolder"
>
<select
id=
"queryUsefulInfo"
resultMap=
"customerHolder"
>
...
...
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