|
|
@ -258,18 +258,14 @@ public class SysRoleServiceImpl extends BaseServiceImpl<SysRoleDao, SysRoleEntit |
|
|
|
|
|
|
|
|
//保存角色与项目处理类型关系
|
|
|
//保存角色与项目处理类型关系
|
|
|
List<String> categoryIdList = dto.getCategoryIdList(); |
|
|
List<String> categoryIdList = dto.getCategoryIdList(); |
|
|
if (CollUtil.isNotEmpty(categoryIdList)) { |
|
|
HandleRoleCategoryFormDTO categoryFormDTO = new HandleRoleCategoryFormDTO(); |
|
|
HandleRoleCategoryFormDTO categoryFormDTO = new HandleRoleCategoryFormDTO(); |
|
|
categoryFormDTO.setRoleId(entity.getId()); |
|
|
categoryFormDTO.setRoleId(entity.getId()); |
|
|
categoryFormDTO.setCategoryIdList(categoryIdList); |
|
|
categoryFormDTO.setCategoryIdList(categoryIdList); |
|
|
eventFeignClient.saveOrUpdateHandleCategory(categoryFormDTO); |
|
|
eventFeignClient.saveOrUpdateHandleCategory(categoryFormDTO); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
List<Long> whistleDeptIdList = dto.getWhistleDeptIdList(); |
|
|
List<Long> whistleDeptIdList = dto.getWhistleDeptIdList(); |
|
|
if (CollUtil.isNotEmpty(whistleDeptIdList)) { |
|
|
//保存角色对应的可吹哨部门权限
|
|
|
//保存角色对应的可吹哨部门权限
|
|
|
this.saveOrUpdateWhistleDeptId(entity.getId(), whistleDeptIdList); |
|
|
this.saveOrUpdateWhistleDeptId(entity.getId(), whistleDeptIdList); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|