Commit b9a416e8 by 徐康

deliverytotal 设置0

parent 18ac90ac
...@@ -153,6 +153,8 @@ public class DeliveryAdapter { ...@@ -153,6 +153,8 @@ public class DeliveryAdapter {
if (CollectionUtils.isNotEmpty(collect)) { if (CollectionUtils.isNotEmpty(collect)) {
//配送费 //配送费
deliveryOrderRequestDto.setDeliveryTotal(collect.get(0).getPrice().intValue()); deliveryOrderRequestDto.setDeliveryTotal(collect.get(0).getPrice().intValue());
} else {
deliveryOrderRequestDto.setDeliveryTotal(0);
} }
}else { }else {
deliveryOrderRequestDto.setDeliveryTotal(0); deliveryOrderRequestDto.setDeliveryTotal(0);
......
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