Commit d73c31f5 by 刘鹏飞

coco订单详情拆行问题

parent 24adb33c
......@@ -141,7 +141,7 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService {
boolean halfFlag = false;
List<QueryOrdersResponse.DataBean.OrderBean.ProductBean.ProductDiscount> discountList = productBean.getDiscountList();
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;
break;
}
......@@ -161,5 +161,4 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService {
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