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

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