This commit is contained in:
2025-03-05 09:14:25 +08:00
parent f3544d674c
commit 3427312b87
4 changed files with 5 additions and 3 deletions

View File

@ -202,8 +202,6 @@ public class WgzUserServiceImpl extends ServicePlusImpl<WgzUserMapper, WgzUser>
//1、对指定用户进行实名认证
WgzUser user = new WgzUser();
BeanUtils.copyProperties(req, user);
System.out.println("1?????????? "+req.getTypeOfWork());
System.out.println("2?????????? "+user.getTypeOfWork());
int update = baseMapper.update(user, new LambdaQueryWrapper<WgzUser>().eq(WgzUser::getUserId, req.getUserId()));
if (update == 0){
throw new RuntimeException("当前用户不存在!");