用户信息页面报错修复
This commit is contained in:
parent
92dd63a679
commit
ade6b172cc
@ -128,9 +128,9 @@ public class UserProfileUseQryExe {
|
||||
UserInviteUser userInviteUser = allInvites.get(0);
|
||||
|
||||
String key = String.format(INVITE_RECHARGE_TOTAL_KEY, userInviteUser.getUserId(), userInviteUser.getInviteUserId());
|
||||
int quantity = redisService.getStringToInteger(key);
|
||||
String quantity = redisService.getString(key);
|
||||
|
||||
return BigDecimal.valueOf(quantity)
|
||||
return BigDecimal.valueOf(StringUtils.isEmpty(quantity) ? 0 : Long.parseLong(quantity))
|
||||
.divide(BigDecimal.valueOf(10000), 2, RoundingMode.HALF_UP);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user