Commit 0e86d4d2 by 周晓航

校验 NPE问题

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 4f994237
......@@ -297,7 +297,6 @@ public class OrderManagerAdapter {
if (orderBean == null) {
return ResponseUtil.error(ResponseResult.ORDER_NOT_EXIST);
}
String companyId = orderBean.getCompanyId();
BaseResponse<OrderManagerResponse> orderManagerResponse = orderBeanFactory.getOrderManagerService(orderBean).orderCreateDelivery(request, orderBean);
return handleResponse(request,orderBean,orderManagerResponse);
}
......
......@@ -370,8 +370,7 @@ public class SaasOrderMangerServiceImpl implements OrderManagerService {
QueryFlag query = QueryFlag.builder().queryBusinessInfo(true).queryStoreInfo(true).build();
ConsoleResponseDTO<BizDTO> storeMix = this.getStoreMix(query, orderBean.getCompanyId(), orderBean.getShopId());
// 创建配送单
deliveryHandle.createDelivery(orderBean, request, storeMix, false);
return null;
return deliveryHandle.createDelivery(orderBean, request, storeMix, false);
}
@Override
......
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