mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-12 01:01:53 +08:00
【代码优化】商城:完善满减送的计算逻辑
This commit is contained in:
@@ -234,7 +234,7 @@ public class RewardActivityServiceImpl implements RewardActivityService {
|
||||
activityDTO.getRules().forEach(rule -> {
|
||||
String description = "";
|
||||
if (PromotionConditionTypeEnum.PRICE.getType().equals(activityDTO.getConditionType())) {
|
||||
description += StrUtil.format("满 {} 元", rule.getLimit());
|
||||
description += StrUtil.format("满 {} 元", MoneyUtils.fenToYuanStr(rule.getLimit()));
|
||||
} else {
|
||||
description += StrUtil.format("满 {} 件", rule.getLimit());
|
||||
}
|
||||
|
Reference in New Issue
Block a user