Commit 63761fa3 by chongfu.liang

修改参数

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