等级显示问题修复
This commit is contained in:
parent
ce04ba917c
commit
c67badcc8a
@ -21,6 +21,9 @@ public class UserLevelExperienceQryExe {
|
||||
private final ConsumptionLevelService consumptionLevelService;
|
||||
|
||||
public UserLevelExperience execute(UserLevelCmd cmd) {
|
||||
if (UserLevelCmd.LevelType.WEALTH.equals(cmd.getType())) {
|
||||
return LevelUtils.getWealthLevel(cmd.requireReqSysOriginEnum(), getQuantity(cmd).longValue());
|
||||
}
|
||||
return LevelUtils.getUserLevelV2(cmd.requireReqSysOriginEnum(), getQuantity(cmd).longValue());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user