Authored by mali

判断是否是鉴定服务订单

... ... @@ -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, "订单不存在");
... ...