|
@@ -2814,6 +2814,9 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
public void deductBalancePayOrderMoney(OrderDon orderDon, BigDecimal balance, User user) {
|
|
public void deductBalancePayOrderMoney(OrderDon orderDon, BigDecimal balance, User user) {
|
|
|
//存在余额
|
|
//存在余额
|
|
|
if (balance != null && balance.compareTo(BigDecimal.ZERO) > 0) {
|
|
if (balance != null && balance.compareTo(BigDecimal.ZERO) > 0) {
|
|
|
|
|
+ if (true) {
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance("暂不支持余额支付..");
|
|
|
|
|
+ }
|
|
|
BigDecimal money = orderDon.getMoney();
|
|
BigDecimal money = orderDon.getMoney();
|
|
|
//去掉余额 多出的部分
|
|
//去掉余额 多出的部分
|
|
|
BigDecimal subBalance = balance;
|
|
BigDecimal subBalance = balance;
|