Authored by caoyan

寄存

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