|
|
@@ -556,6 +556,10 @@ public class VipOrderDonServiceImpl extends ServiceImpl<VipOrderDonMapper, VipOr
|
|
|
orderDonGalaxyCoinRecord.setDeductMoney(thisDeductMoney);
|
|
|
orderDonGalaxyCoinRecord.setIsVip(Boolean.TRUE);
|
|
|
orderDonGalaxyCoinRecordMapper.insert(orderDonGalaxyCoinRecord);
|
|
|
+ orderDon.setMoney(orderMoney.subtract(thisDeductMoney));
|
|
|
+ if (orderDon.getMoney().compareTo(BigDecimal.ZERO) == 0) {
|
|
|
+ orderDon.setType(VipOrderDon.Type.GALAXY_COIN);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|