...
|
...
|
@@ -66,9 +66,14 @@ public class SellerEarnestMoney2BuyerPenaltyRuleSelector { |
|
|
}
|
|
|
prePenaltyAmount = prdSalePrice;
|
|
|
penaltyRate = penaltyFeeRate.getBigDecimal("rate");
|
|
|
penaltyMinAmount = penaltyFeeRate.getJSONObject("moneyRange").getBigDecimal("min");
|
|
|
penaltyMaxAmount = penaltyFeeRate.getJSONObject("moneyRange").getBigDecimal("max");
|
|
|
|
|
|
JSONObject moneyRange = penaltyFeeRate.getJSONObject("moneyRange");
|
|
|
if (Objects.nonNull(moneyRange)) {
|
|
|
penaltyMinAmount = moneyRange.getBigDecimal("min");
|
|
|
penaltyMaxAmount = moneyRange.getBigDecimal("max");
|
|
|
} else {
|
|
|
penaltyMinAmount = null;
|
|
|
penaltyMaxAmount = null;
|
|
|
}
|
|
|
}
|
|
|
// 扣除所有保证金
|
|
|
else {
|
...
|
...
|
|