购买道具不再累计财富等级

This commit is contained in:
tianfeng 2025-09-25 18:09:42 +08:00
parent d7c5553b9b
commit 19988d179e

View File

@ -490,8 +490,8 @@ public class PropsStoreGatewayImpl implements PropsStoreGateway {
.setType(productProps.propsResourcesTypeName()) .setType(productProps.propsResourcesTypeName())
.withCreateUser(productProps.getInitiateUserId())); .withCreateUser(productProps.getInitiateUserId()));
// 累计财富等级 // 累计财富等级, 购买商品不再累计财富等级
if (ArithmeticUtils.gtZero(productProps.getPropsPrices()) /*if (ArithmeticUtils.gtZero(productProps.getPropsPrices())
&& Objects.equals(productProps.getAppendWealth(), Boolean.TRUE)) { && Objects.equals(productProps.getAppendWealth(), Boolean.TRUE)) {
consumptionLevelService.incrConsumptionGolds(productProps.getInitiateUserId(), consumptionLevelService.incrConsumptionGolds(productProps.getInitiateUserId(),
productProps.getPropsPrices()); productProps.getPropsPrices());
@ -502,7 +502,7 @@ public class PropsStoreGatewayImpl implements PropsStoreGateway {
.day(LocalDateTimeUtils.nowFormat("yyyy-MM-dd")) .day(LocalDateTimeUtils.nowFormat("yyyy-MM-dd"))
.build()); .build());
} }*/
// 统计销售情况 // 统计销售情况
if (Objects.nonNull(productProps.getCountSysOrigin())) { if (Objects.nonNull(productProps.getCountSysOrigin())) {