|
|
@@ -310,8 +310,8 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|
|
}
|
|
|
sysUserJzgInfoService.updateBatchById(sysUserJzgInfoList);
|
|
|
} else {
|
|
|
- for (String id : isEnableVo.getIds()) {
|
|
|
- SysUserJzgInfo sysUserJzgInfo = sysUserJzgInfoService.getById(id);
|
|
|
+ for (String id : isEnableVo.getId()) {
|
|
|
+ SysUserJzgInfo sysUserJzgInfo = sysUserJzgInfoService.getUserByUserId(id);
|
|
|
if (sysUserJzgInfo == null) {
|
|
|
throw new SystemException("该用户不存在");
|
|
|
}
|