|
|
@@ -93,7 +93,7 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
String autNo;
|
|
|
int n=0;
|
|
|
List<Admin> Nos =adminMapper.selectIDNBySuperiorId(ad.getId());
|
|
|
- for(Admin i:Nos){
|
|
|
+ /*for(Admin i:Nos){
|
|
|
autNo=adminMapper.selectUserNoById(i.getSuperiorId());
|
|
|
if(n<10){
|
|
|
String aut=autNo+"0"+n;
|
|
|
@@ -155,7 +155,7 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
z++;
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
@@ -257,7 +257,7 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
ad.setStatus("正常");
|
|
|
String sdepNo=adminMapper.selectUserNoBySuperiorId(ad.getSuperiorId());
|
|
|
int Count=adminMapper.selectCountBySuperiorId(ad.getSuperiorId());
|
|
|
- if(Count<10){
|
|
|
+ /*if(Count<10){
|
|
|
String dep=sdepNo+"0"+Count;
|
|
|
String sid=adminMapper.selectIdByUserNo(dep);
|
|
|
while(sid!=null){
|
|
|
@@ -280,7 +280,7 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
sid=adminMapper.selectIdByUserNo(dep);
|
|
|
}
|
|
|
ad.setUserNo(dep);
|
|
|
- }
|
|
|
+ } */
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
params.put("uid", ad.getId());
|
|
|
params.put("roles", roleIds);
|