Authored by LUOXC

fix bug

... ... @@ -1338,6 +1338,8 @@ public class ExpressInfoServiceImpl implements IExpressInfoService {
@Override
public AppraiseAddressResp queryAppraiseAddress(Integer uid, Long orderCode, Integer skup) {
throwServiceExceptionIf(Objects.isNull(orderCode),"请升级到最新版本");
CodeMeta codeMeta = orderCodeGenerator.expId(orderCode);
OrderCodeType orderCodeType = OrderCodeType.getOrderCodeType(codeMeta.getType());
AppraiseAddressResp resp = null;
... ... @@ -1371,17 +1373,6 @@ public class ExpressInfoServiceImpl implements IExpressInfoService {
return resp;
}
boolean skupIsNull = (null == skup);
boolean orderCodeIsNull = (null == orderCode);
if (skupIsNull && orderCodeIsNull) {
LOGGER.warn("queryAppraiseAddress can not save back, all key info are null, uid {}", uid);
resp = appraiseAddressService.queryInitAddress();
resp.setDeliverDesc(SellerConfig.DeliverDesc.COMMON);
resp.setWarnTips(SellerConfig.WarnTips.BUYER_ORDER);
return resp;
}
//寄存订单
BuyerOrder buyerOrder = buyerOrderMapper.selectOnlyByOrderCode(orderCode);
//防止较早版本出错
... ...