Commit 83ca8bb8 authored by Smile's avatar Smile Committed by wux

fix:会员初始等级为空导致的无法登录问题修复

parent 66748369
...@@ -138,9 +138,9 @@ public class MemberUserScoreServiceImpl extends AbstractService<MemberUserScoreM ...@@ -138,9 +138,9 @@ public class MemberUserScoreServiceImpl extends AbstractService<MemberUserScoreM
QueryWrapper queryWrapper = new QueryWrapper(); QueryWrapper queryWrapper = new QueryWrapper();
queryWrapper.eq("member_id",infoRespVO.getId()); queryWrapper.eq("member_id",infoRespVO.getId());
MemberUserLevelDetailsDO memberUserLevelDetailsDO = memberUserLevelDetailsMapper.selectOne(queryWrapper); MemberUserLevelDetailsDO memberUserLevelDetailsDO = memberUserLevelDetailsMapper.selectOne(queryWrapper);
MemberUserLevelConfigDO realLevel = memberUserLevelConfigService.getById(memberUserLevelDetailsDO.getConfigId()); if (memberUserLevelDetailsDO != null) {
MemberUserLevelConfigDO realLevel = memberUserLevelConfigService.getById(memberUserLevelDetailsDO.getConfigId());
// MemberUserLevelConfigBaseRespVO level = memberUserLevelConfigService.getLevelByCount(userScoreTotal); // MemberUserLevelConfigBaseRespVO level = memberUserLevelConfigService.getLevelByCount(userScoreTotal);
if (realLevel != null) {
infoRespVO.setLevelName(realLevel.getName()); infoRespVO.setLevelName(realLevel.getName());
infoRespVO.setLowerCount(realLevel.getLowerCount()); infoRespVO.setLowerCount(realLevel.getLowerCount());
infoRespVO.setUpperCount(realLevel.getUpperCount()); infoRespVO.setUpperCount(realLevel.getUpperCount());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment