Commit ae30af97 by 周晓航

新增订单基础判断

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent c750c855
...@@ -3483,8 +3483,11 @@ public class OrderServiceImpl implements Orderservice { ...@@ -3483,8 +3483,11 @@ public class OrderServiceImpl implements Orderservice {
return ResponseUtil.error(ResponseResult.ORDER_NOT_EXIST); return ResponseUtil.error(ResponseResult.ORDER_NOT_EXIST);
} }
OrderInfoReqs result = queryOrderByIdResponse.getResult(); OrderInfoReqs result = queryOrderByIdResponse.getResult();
if (result.getOrderState().compareTo(OrderStatusV1.COMPLETE.getV2Code()) == 0 && PayStatus.HAVE_PAID.getCode().equals(result.getPayState())) {
return ResponseUtil.success(result); return ResponseUtil.success(result);
} }
return ResponseUtil.error(ResponseResult.OPERATE_NOT_SUPPORT);
}
/** /**
......
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