|
|
@@ -418,9 +418,9 @@ public class SysUserService {
|
|
|
// if(dto.getBackPublicDayCount()==null || dto.getBackPublicDayCount()<0){
|
|
|
// throw new BusinessException(400, "退回公海天数不能小于0");
|
|
|
// }
|
|
|
-// if (existingEntity != null && !existingEntity.getId().equals(dto.getId())) {
|
|
|
-// throw new BusinessException(400, "已存在相同账号,请重新输入");
|
|
|
-// }
|
|
|
+ if (existingEntity != null && !existingEntity.getId().equals(dto.getId())) {
|
|
|
+ throw new BusinessException(400, "已存在相同账号,请重新输入");
|
|
|
+ }
|
|
|
SysUserEntity entity =
|
|
|
sysUserMapper.selectOne(
|
|
|
new LambdaQueryWrapper<>(SysUserEntity.class)
|