| src/main/java/org/springblade/modules/system/service/impl/UserServiceImpl.java | ●●●●● patch | view | raw | blame | history |
src/main/java/org/springblade/modules/system/service/impl/UserServiceImpl.java
@@ -1275,8 +1275,10 @@ if (null!=deptIds && !deptIds.equals("")) { if (null != deptId && !deptId.equals("")) { //管理员不分单位导入 if (!deptId.equals(deptIds) && !deptId.equals("1123598813738675201")) { throw new ServiceException("导入失败!不能导入不是本公司的保安员数据!"); if (!deptId.equals(deptIds)) { if(!deptId.equals("1123598813738675201")) { throw new ServiceException("导入失败!不能导入不是本公司的保安员数据!"); } } } user.setDeptId(deptIds);