Authored by mali

库存详情去掉订单号

... ... @@ -271,6 +271,7 @@ public class DepositOrderService {
}
// 查询发货给买家的物流单号
// 订单号页面不需要展示,展示去掉订单号
private void queryWaybillCode(DepositDetailBo depositDetailBo) {
if (null == depositDetailBo) {
return;
... ... @@ -278,6 +279,8 @@ public class DepositOrderService {
ExpressRecord expressInfoByOrderCode = expressInfoService.getExpressInfoByOrderCode(depositDetailBo.getOrderCode(), EnumExpressType.EXPRESS_TYPE_2.getCode());
depositDetailBo.setWaybill_code(Optional.ofNullable(expressInfoByOrderCode).map(ExpressRecord::getWaybillCode).orElse(""));
depositDetailBo.setOrderCode(null);
}
public static String formatFee(BigDecimal fee){
... ...