Commit 63761fa3 by chongfu.liang

修改参数

parent 1b9eb8be
...@@ -306,13 +306,14 @@ public class OrderAdapter { ...@@ -306,13 +306,14 @@ public class OrderAdapter {
} }
private BaseCreateOrderRequest.OrderOtherInfo getOrderOtherInfo(ShoppingCartGoodsDto shoppingCartGoodsDto) { private BaseCreateOrderRequest.OrderOtherInfo getOrderOtherInfo(ShoppingCartGoodsDto shoppingCartGoodsDto) {
BaseCreateOrderRequest.SendPoint sendPoint = new BaseCreateOrderRequest.SendPoint(); if (shoppingCartGoodsDto != null && shoppingCartGoodsDto.getSendPoint() != null){
if (sendPoint != null){ BaseCreateOrderRequest.SendPoint sendPoint = new BaseCreateOrderRequest.SendPoint();
BeanUtil.convertBean(shoppingCartGoodsDto.getSendPoint(), sendPoint); BeanUtil.convertBean(shoppingCartGoodsDto.getSendPoint(), sendPoint);
BaseCreateOrderRequest.OrderOtherInfo orderOtherInfo = new BaseCreateOrderRequest.OrderOtherInfo();
orderOtherInfo.setPoint(sendPoint);
return orderOtherInfo;
} }
BaseCreateOrderRequest.OrderOtherInfo orderOtherInfo = new BaseCreateOrderRequest.OrderOtherInfo(); return null;
orderOtherInfo.setPoint(sendPoint);
return orderOtherInfo;
} }
private List<CreateOrderAccountRequest> getMaterialAccounts(CreateOrderProductRequest createOrderProductDto, ShoppingCartGoodsDto.CartGoodsDetailDto material) { private List<CreateOrderAccountRequest> getMaterialAccounts(CreateOrderProductRequest createOrderProductDto, ShoppingCartGoodsDto.CartGoodsDetailDto material) {
......
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