修复预交金bug,充值失败会补偿处理
This commit is contained in:
@@ -68,4 +68,8 @@ public final class AmountUtil {
|
||||
BigDecimal amountB = parseAmount(b, BigDecimal.ZERO);
|
||||
return amountA.compareTo(amountB);
|
||||
}
|
||||
// Double金额转为String金额
|
||||
public static String doubleToStr(Double amount) {
|
||||
return String.format("%.2f", amount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user