Commit e2751f94 by yao.xiao

修改-查询线上订单列表是增加fortuneId出参

parent e896d472
...@@ -22,6 +22,7 @@ public class CustomerPolicyInfo implements Comparable<CustomerPolicyInfo>{ ...@@ -22,6 +22,7 @@ public class CustomerPolicyInfo implements Comparable<CustomerPolicyInfo>{
private Integer platform;//1、银盾在线,2、EGolden private Integer platform;//1、银盾在线,2、EGolden
private Long planId; private Long planId;
private Long productId; private Long productId;
private Long fortuneId;
public Long getOrderId() { public Long getOrderId() {
return orderId; return orderId;
...@@ -129,6 +130,14 @@ public class CustomerPolicyInfo implements Comparable<CustomerPolicyInfo>{ ...@@ -129,6 +130,14 @@ public class CustomerPolicyInfo implements Comparable<CustomerPolicyInfo>{
this.productId = productId; this.productId = productId;
} }
public Long getFortuneId() {
return fortuneId;
}
public void setFortuneId(Long fortuneId) {
this.fortuneId = fortuneId;
}
@Override @Override
public int compareTo(CustomerPolicyInfo o) { public int compareTo(CustomerPolicyInfo o) {
String orderDate1 = o.getOrderDate(); String orderDate1 = o.getOrderDate();
......
...@@ -1000,7 +1000,8 @@ ...@@ -1000,7 +1000,8 @@
f.referral_amount as referralAmount, f.referral_amount as referralAmount,
f.order_price as orderPrice, f.order_price as orderPrice,
o.plan_id as planId, 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 &gt; 0 and o.insurer_id != 888 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 &gt; 0 and o.insurer_id != 888
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
WHERE f.customer_id = #{customerId,jdbcType=BIGINT} WHERE f.customer_id = #{customerId,jdbcType=BIGINT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment