|
@@ -229,8 +229,11 @@ public class AppmanageServiceImpl implements AppmanageService {
|
|
// 删除该应用下所创建的角色信息
|
|
// 删除该应用下所创建的角色信息
|
|
String[] Approleids = sysRoleService.listRoleIdsByAppId(id);
|
|
String[] Approleids = sysRoleService.listRoleIdsByAppId(id);
|
|
if (Approleids!=null){
|
|
if (Approleids!=null){
|
|
- boolean tag = sysRoleService.deleteBatchRole(Approleids);
|
|
|
|
- if (!tag) return false;
|
|
|
|
|
|
+ try {
|
|
|
|
+ sysRoleService.deleteBatchRole(Approleids);
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+ System.out.println("删除应用下角色失败:"+e);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// 记录日志
|
|
// 记录日志
|