|
@@ -157,7 +157,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
throw new CustomException("用户信息获取有误!");
|
|
throw new CustomException("用户信息获取有误!");
|
|
|
}
|
|
}
|
|
|
UserProfile profile = getOne(new LambdaQueryWrapper<UserProfile>()
|
|
UserProfile profile = getOne(new LambdaQueryWrapper<UserProfile>()
|
|
|
- .eq(UserProfile::getUserId, bo.getUserId())
|
|
|
|
|
|
|
+ .eq(UserProfile::getUserId, user.getUserId())
|
|
|
.eq(UserProfile::getGoodsId, bo.getGoodsId())
|
|
.eq(UserProfile::getGoodsId, bo.getGoodsId())
|
|
|
.eq(UserProfile::getTypeStatus, 1)
|
|
.eq(UserProfile::getTypeStatus, 1)
|
|
|
.eq(UserProfile::getCurrentStatus, 1)
|
|
.eq(UserProfile::getCurrentStatus, 1)
|