...
|
...
|
@@ -2044,26 +2044,24 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
}
|
|
|
}
|
|
|
|
|
|
resp.setPickAmount("0.00");
|
|
|
StorageDeposit deposit = storageDepositMapper.selectByOrderCode(orderCode);
|
|
|
if(null == deposit) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if(resp.getAttributes().equals(OrderAttributes.QUICK_DELIVER.getCode())) {//闪购
|
|
|
resp.setPickAmount(resp.getDepositAmount());
|
|
|
resp.setDepositAmount("0.00");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
resp.setPickAmount("0.00");
|
|
|
StorageDeposit deposit = storageDepositMapper.selectByOrderCode(orderCode);
|
|
|
if(null == deposit) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
DepositOrder depositOrder = depositOrderMapper.selectByDepositCode(deposit.getDepositCode());
|
|
|
if(null == depositOrder) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
resp.setPickAmount(null == depositOrder.getAmount() ? "0.00" : String.format("%.2f", depositOrder.getAmount().doubleValue()));
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|