Commit 395a8a0d by 刘鹏飞

Merge remote-tracking branch 'remotes/origin/feature/coco-payGift-刘鹏飞' into qa

parents 4ba1667c d73c31f5
...@@ -141,7 +141,7 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService { ...@@ -141,7 +141,7 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService {
boolean halfFlag = false; boolean halfFlag = false;
List<QueryOrdersResponse.DataBean.OrderBean.ProductBean.ProductDiscount> discountList = productBean.getDiscountList(); List<QueryOrdersResponse.DataBean.OrderBean.ProductBean.ProductDiscount> discountList = productBean.getDiscountList();
for(QueryOrdersResponse.DataBean.OrderBean.ProductBean.ProductDiscount productDiscount : discountList){ for(QueryOrdersResponse.DataBean.OrderBean.ProductBean.ProductDiscount productDiscount : discountList){
if(ObjectUtils.equals(productDiscount.getDiscountType(), OldOrderAccountType.SECOND_DISCOUNT.getCode())){ if(ObjectUtils.equals(productDiscount.getDiscountType(), 20)){
halfFlag = true; halfFlag = true;
break; break;
} }
...@@ -161,5 +161,4 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService { ...@@ -161,5 +161,4 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService {
queryOrderResponseVo.setProducts(masterProducts); queryOrderResponseVo.setProducts(masterProducts);
} }
} }
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