Commit 72371fa9 authored by codezwjava's avatar codezwjava

修改用户升级后同步账户表和团队业绩表等级bug

parent 7e68ff50
......@@ -898,8 +898,8 @@ public class UserLevelServiceImpl extends ServiceImpl<UsersMapper, User> impleme
TeamPerformance teamPerformanceByUserId = teamPerformanceMapper.getByUserId(userId);
teamPerformanceByUserId.setUserLevel(userLevel);
accountMapper.edit(accountInfoByUserId);
teamPerformanceMapper.edit(teamPerformanceByUserId);
accountMapper.updateById(accountInfoByUserId);
teamPerformanceMapper.updateById(teamPerformanceByUserId);
}
}
}
......
......@@ -47,7 +47,7 @@ public class UserLevelTaskServiceImpl implements UserLevelTaskService {
@Autowired
private UserDataInfoMapper userDataInfoMapper;
//获取订单
@XxlJob(value = "userLevelUpjobhandler")
@Override
public void userLevelUp() {
......
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