修复会员等级大于1时,新增经验问题

Signed-off-by: 天痕 <614891294@qq.com>
This commit is contained in:
天痕 2024-01-09 02:04:41 +00:00 committed by Gitee
parent fa2908a2f9
commit 1a491cca98
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -244,7 +244,8 @@ public class MemberLevelServiceImpl implements MemberLevelService {
MemberLevelRecordDO levelRecord = new MemberLevelRecordDO() MemberLevelRecordDO levelRecord = new MemberLevelRecordDO()
.setUserId(user.getId()) .setUserId(user.getId())
.setExperience(experience) .setExperience(experience)
.setUserExperience(userExperience); .setUserExperience(userExperience)
.setLevelId(user.getLevelId());
memberExperienceRecordService.createExperienceRecord(userId, experience, userExperience, memberExperienceRecordService.createExperienceRecord(userId, experience, userExperience,
bizType, bizId); bizType, bizId);