替换收银呗字样,更改创客错误状态,更改提现时手机号显示,分享注册,提现算法列表,后台推广员列表·

This commit is contained in:
liuyingfang
2023-07-18 15:34:44 +08:00
parent 542a1079a0
commit 0a7da333b2
13 changed files with 53 additions and 42 deletions

View File

@@ -26,8 +26,8 @@ public enum CodeEnum {
ORDER_REFUND_ERROR("2002", "订单退款异常"),
PASSWORD_NOT_INIT("2011", "安全密码未初始化,请前往收银呗APP进行初始化"),
PASSWORD_ERROR("2021", "安全密码错误,若忘记密码,可前往收银呗APP进行重置"),
PASSWORD_NOT_INIT("2011", "安全密码未初始化,请前往银收客APP进行初始化"),
PASSWORD_ERROR("2021", "安全密码错误,若忘记密码,可前往银收客APP进行重置"),
;
private final String val;

View File

@@ -279,11 +279,11 @@ public class CashServiceImpl extends ServiceImpl<CashMapper, Cash> implements Ca
throw new MsgException("可提现金额不足!");
}
cash.setRate(8);
cash.setBaseServiceCharge(BigDecimal.valueOf(3));
cash.setRatioCharge(cash.getCashAmt().multiply(BigDecimal.valueOf(0.08)).setScale(2, RoundingMode.HALF_EVEN));
cash.setRate(10);
cash.setBaseServiceCharge(BigDecimal.ZERO);
cash.setRatioCharge(new BigDecimal("0.1"));
cash.setVirTotalCharge(cash.getBaseServiceCharge().add(cash.getRatioCharge()));
cash.setVirRealCashAmt(cash.getCashAmt().subtract(cash.getVirTotalCharge()).setScale(2, RoundingMode.HALF_EVEN));
cash.setVirRealCashAmt(cash.getCashAmt().subtract(cash.getCashAmt().multiply(new BigDecimal("0.1"))).setScale(2, RoundingMode.HALF_EVEN));
return cash;
}