提交 bf432223 作者: zhenjie

提交订单bug修复-null判断

上级 eac5c06c
......@@ -98,6 +98,9 @@ public class UavOrderServiceImpl implements UavOrderService {
return checkRes;
}
MallGoodsVO mallGoodsVO = checkRes.getResult();
if (mallGoodsVO == null) {
return ResultBody.error("访问错误!");
}
String orderNo = CodeUtil.uavOrderCode();
BigDecimal orderTotalAmount = BigDecimal.ZERO;
BigDecimal otherAmount = BigDecimal.ZERO;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论