Commit 4f994237 by 周晓航

删除无效校验

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 012f5e25
...@@ -294,13 +294,10 @@ public class OrderManagerAdapter { ...@@ -294,13 +294,10 @@ public class OrderManagerAdapter {
} }
OrderBeanV1 orderBean = orderBeanResp.getResult(); OrderBeanV1 orderBean = orderBeanResp.getResult();
//订单接单参数校验 //订单接单参数校验
String companyId = orderBean.getCompanyId(); if (orderBean == null) {
if (!macCafePartnerId.equals(companyId)) { return ResponseUtil.error(ResponseResult.ORDER_NOT_EXIST);
BaseResponse verifyResponse = orderVerifyHandle.orderConfirmTakeVerify(orderBean, request);
if (ObjectUtils.notEqual(verifyResponse.getCode(), ResponseResult.SUCCESS.getCode())) {
return verifyResponse;
}
} }
String companyId = orderBean.getCompanyId();
BaseResponse<OrderManagerResponse> orderManagerResponse = orderBeanFactory.getOrderManagerService(orderBean).orderCreateDelivery(request, orderBean); BaseResponse<OrderManagerResponse> orderManagerResponse = orderBeanFactory.getOrderManagerService(orderBean).orderCreateDelivery(request, orderBean);
return handleResponse(request,orderBean,orderManagerResponse); return handleResponse(request,orderBean,orderManagerResponse);
} }
......
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