购买道具不再累计财富等级
This commit is contained in:
parent
d7c5553b9b
commit
19988d179e
@ -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())) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user