trade: 分销业务后台功能:佣金格式化

This commit is contained in:
owen 2023-09-09 20:00:57 +08:00
parent 643602d038
commit 797680895b

View File

@ -45,7 +45,7 @@ public interface BrokerageRecordConvert {
.setPrice(brokerage)
.setTotalPrice(user.getPrice())
.setTitle(title)
.setDescription(StrUtil.format(bizType.getDescription(), String.valueOf(brokerage / 100.0)))
.setDescription(StrUtil.format(bizType.getDescription(), String.format("¥%.2f", brokerage / 100d)))
.setStatus(status)
.setFrozenDays(brokerageFrozenDays)
.setUnfreezeTime(unfreezeTime);