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
e2751f94
Commit
e2751f94
authored
Jun 16, 2020
by
yao.xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改-查询线上订单列表是增加fortuneId出参
parent
e896d472
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
yd-api/src/main/java/com/yd/dal/entity/order/CustomerPolicyInfo.java
+9
-0
yd-api/src/main/resources/mapper/order/PoOrderMapper.xml
+2
-1
No files found.
yd-api/src/main/java/com/yd/dal/entity/order/CustomerPolicyInfo.java
View file @
e2751f94
...
...
@@ -22,6 +22,7 @@ public class CustomerPolicyInfo implements Comparable<CustomerPolicyInfo>{
private
Integer
platform
;
//1、银盾在线,2、EGolden
private
Long
planId
;
private
Long
productId
;
private
Long
fortuneId
;
public
Long
getOrderId
()
{
return
orderId
;
...
...
@@ -129,6 +130,14 @@ public class CustomerPolicyInfo implements Comparable<CustomerPolicyInfo>{
this
.
productId
=
productId
;
}
public
Long
getFortuneId
()
{
return
fortuneId
;
}
public
void
setFortuneId
(
Long
fortuneId
)
{
this
.
fortuneId
=
fortuneId
;
}
@Override
public
int
compareTo
(
CustomerPolicyInfo
o
)
{
String
orderDate1
=
o
.
getOrderDate
();
...
...
yd-api/src/main/resources/mapper/order/PoOrderMapper.xml
View file @
e2751f94
...
...
@@ -1000,7 +1000,8 @@
f.referral_amount as referralAmount,
f.order_price as orderPrice,
o.plan_id as planId,
o.product_id as productId
o.product_id as productId ,
f.id as fortuneId
FROM ag_acl_customer_fortune f INNER JOIN ag_po_order o ON f.order_id = o.id and o.status = 3 and o.order_price
>
0 and o.insurer_id != 888
inner JOIN ag_acl_policyholder p ON o.id = p.order_id and p.type = 2
WHERE f.customer_id = #{customerId,jdbcType=BIGINT}
...
...
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