Commit deff5416 by xiaoer.li

fix

parent d1a4fca3
...@@ -3353,10 +3353,11 @@ public class OrderServiceImpl implements Orderservice { ...@@ -3353,10 +3353,11 @@ public class OrderServiceImpl implements Orderservice {
query = svcComPayClient.query(requestDto); query = svcComPayClient.query(requestDto);
if (query!=null) break; if (query!=null) break;
} }
log.info("order checkSvcComPay:{}",JSON.toJSONString(query));
if (query==null || !ResponseResult.SUCCESS.getCode().equals(query.getCode())) { if (query==null || !ResponseResult.SUCCESS.getCode().equals(query.getCode())) {
return false; return false;
} }
if (partnerId.equals(query.getResult().getValue())) { if (query.getResult()!=null && query.getResult().getValue()) {
return true; return true;
} }
else { else {
......
...@@ -2087,7 +2087,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -2087,7 +2087,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
if (query==null || !ResponseResult.SUCCESS.getCode().equals(query.getCode())) { if (query==null || !ResponseResult.SUCCESS.getCode().equals(query.getCode())) {
return false; return false;
} }
if (partnerId.equals(query.getResult().getValue())) { if (query.getResult()!=null && query.getResult().getValue()) {
return true; return true;
} }
else { else {
......
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