|
@@ -775,7 +775,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -775,7 +775,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
775
|
|
775
|
|
776
|
/**
|
776
|
/**
|
777
|
* 根据状态获取物流类型
|
777
|
* 根据状态获取物流类型
|
778
|
- * @param status
|
778
|
+ * @param appraiseOrder
|
779
|
* @return
|
779
|
* @return
|
780
|
*/
|
780
|
*/
|
781
|
private List<Integer> getAppraiseExpressType(AppraiseOrder appraiseOrder) {
|
781
|
private List<Integer> getAppraiseExpressType(AppraiseOrder appraiseOrder) {
|
|
@@ -1346,12 +1346,15 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -1346,12 +1346,15 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
1346
|
throwServiceException(400, "订单类型错误");
|
1346
|
throwServiceException(400, "订单类型错误");
|
1347
|
}
|
1347
|
}
|
1348
|
resp = appraiseAddressService.findByDepotType(depotType.getCode());
|
1348
|
resp = appraiseAddressService.findByDepotType(depotType.getCode());
|
|
|
1349
|
+ resp.setDeliverDesc(SellerConfig.DeliverDesc.SELLER_DEPOSIT_ORDER);
|
1349
|
return resp;
|
1350
|
return resp;
|
1350
|
}
|
1351
|
}
|
1351
|
|
1352
|
|
1352
|
|
1353
|
|
1353
|
if (isHKLargeSettlementSuper(uid)) {
|
1354
|
if (isHKLargeSettlementSuper(uid)) {
|
1354
|
- return appraiseAddressService.queryHKAppraiseAddress();
|
1355
|
+ resp = appraiseAddressService.queryHKAppraiseAddress();
|
|
|
1356
|
+ resp.setDeliverDesc(SellerConfig.DeliverDesc.COMMON);
|
|
|
1357
|
+ return resp;
|
1355
|
}
|
1358
|
}
|
1356
|
|
1359
|
|
1357
|
|
1360
|
|
|
@@ -1359,7 +1362,9 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -1359,7 +1362,9 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
1359
|
boolean orderCodeIsNull = (null == orderCode);
|
1362
|
boolean orderCodeIsNull = (null == orderCode);
|
1360
|
if (skupIsNull && orderCodeIsNull) {
|
1363
|
if (skupIsNull && orderCodeIsNull) {
|
1361
|
LOGGER.warn("queryAppraiseAddress can not save back, all key info are null, uid {}", uid);
|
1364
|
LOGGER.warn("queryAppraiseAddress can not save back, all key info are null, uid {}", uid);
|
1362
|
- return appraiseAddressService.queryInitAddress();
|
1365
|
+ resp = appraiseAddressService.queryInitAddress();
|
|
|
1366
|
+ resp.setDeliverDesc(SellerConfig.DeliverDesc.COMMON);
|
|
|
1367
|
+ return resp;
|
1363
|
}
|
1368
|
}
|
1364
|
|
1369
|
|
1365
|
//寄存订单
|
1370
|
//寄存订单
|
|
@@ -1367,12 +1372,13 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -1367,12 +1372,13 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
1367
|
//防止较早版本出错
|
1372
|
//防止较早版本出错
|
1368
|
if (Objects.nonNull(buyerOrder)) {
|
1373
|
if (Objects.nonNull(buyerOrder)) {
|
1369
|
if (OrderAttributes.DEPOSITE.getCode() == buyerOrder.getAttributes()) {
|
1374
|
if (OrderAttributes.DEPOSITE.getCode() == buyerOrder.getAttributes()) {
|
1370
|
- return appraiseAddressService.findByDepotType(DepotType.NJ.getCode());
|
1375
|
+ resp = appraiseAddressService.findByDepotType(DepotType.NJ.getCode());
|
|
|
1376
|
+ resp.setDeliverDesc(SellerConfig.DeliverDesc.COMMON);
|
|
|
1377
|
+ return resp;
|
1371
|
}
|
1378
|
}
|
1372
|
}
|
1379
|
}
|
1373
|
|
1380
|
|
1374
|
AddressInfo buyerAddress = findSellerAddressInfo(uid, skup);
|
1381
|
AddressInfo buyerAddress = findSellerAddressInfo(uid, skup);
|
1375
|
-
|
|
|
1376
|
LOGGER.info("in queryAppraiseAddress get Address {} orderCode {}, skup {}", buyerAddress, orderCode, skup);
|
1382
|
LOGGER.info("in queryAppraiseAddress get Address {} orderCode {}, skup {}", buyerAddress, orderCode, skup);
|
1377
|
|
1383
|
|
1378
|
// 根据用户id查询默认地址的省份
|
1384
|
// 根据用户id查询默认地址的省份
|
|
@@ -1381,7 +1387,9 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -1381,7 +1387,9 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
1381
|
resp = appraiseAddressService.queryAddressByAreaCode(buyerAddress.getAreaCode());
|
1387
|
resp = appraiseAddressService.queryAddressByAreaCode(buyerAddress.getAreaCode());
|
1382
|
}
|
1388
|
}
|
1383
|
// 匹配不了,给个娄底的
|
1389
|
// 匹配不了,给个娄底的
|
1384
|
- return resp == null ? appraiseAddressService.queryInitAddress() : resp;
|
1390
|
+ resp = resp == null ? appraiseAddressService.queryInitAddress() : resp;
|
|
|
1391
|
+ resp.setDeliverDesc(SellerConfig.DeliverDesc.COMMON);
|
|
|
1392
|
+ return resp;
|
1385
|
}
|
1393
|
}
|
1386
|
|
1394
|
|
1387
|
/**
|
1395
|
/**
|