...
|
...
|
@@ -435,9 +435,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
Object buyerOrder;
|
|
|
if (isServiceOrder(orderCode)) {
|
|
|
//获取订单详细信息
|
|
|
buyerOrder = buyerOrderMapper.selectOnlyByOrderCode(orderCode);
|
|
|
} else {
|
|
|
buyerOrder = appraiseOrderMapper.selectByOrderCode(orderCode);
|
|
|
} else {
|
|
|
buyerOrder = buyerOrderMapper.selectOnlyByOrderCode(orderCode);
|
|
|
}
|
|
|
if (buyerOrder == null) {
|
|
|
throw new GatewayException(403, "订单不存在");
|
...
|
...
|
@@ -863,7 +863,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
private boolean isServiceOrder(long orderCode) {
|
|
|
ApiResponse resp = ufoServiceCaller.call("ufo.order.isServiceOrder", ApiResponse.class, orderCode);
|
|
|
if (resp != null) {
|
|
|
return !(Boolean) resp.getData();
|
|
|
return (Boolean) resp.getData();
|
|
|
}
|
|
|
return false;
|
|
|
}
|
...
|
...
|
|