|
|
@@ -235,7 +235,7 @@ public class DistributePopularizeController {
|
|
|
// if (apply != null) {
|
|
|
// throw BusinessRuntimeException.getInstance("今日已提现,请明日再进行操作");
|
|
|
// }
|
|
|
- BigDecimal num = userPoints.divide(ratePoints, RoundingMode.DOWN);
|
|
|
+ BigDecimal num = userPoints.divide(ratePoints, 0, RoundingMode.DOWN);
|
|
|
BigDecimal needApplyMoney = num.multiply(minMoney);
|
|
|
BigDecimal needSubPoints = num.multiply(ratePoints);
|
|
|
BigDecimal fourHundred = BigDecimal.valueOf(4 * 100 * 100);
|