|
@ -212,6 +212,7 @@ public class SysRoleServiceImpl extends BaseServiceImpl<SysRoleDao, SysRoleEntit |
|
|
HandleRoleDeptFormDTO formDTO = new HandleRoleDeptFormDTO(); |
|
|
HandleRoleDeptFormDTO formDTO = new HandleRoleDeptFormDTO(); |
|
|
formDTO.setRoleId(roleId.toString()); |
|
|
formDTO.setRoleId(roleId.toString()); |
|
|
|
|
|
|
|
|
|
|
|
if (null == whistleDeptIdList || whistleDeptIdList.size() == 0) { |
|
|
QueryWrapper<SysDeptEntity> wrapper = new QueryWrapper<>(); |
|
|
QueryWrapper<SysDeptEntity> wrapper = new QueryWrapper<>(); |
|
|
wrapper.in(FieldConstant.ID, whistleDeptIdList); |
|
|
wrapper.in(FieldConstant.ID, whistleDeptIdList); |
|
|
List<SysDeptEntity> deptEntityList = sysDeptDao.selectList(wrapper); |
|
|
List<SysDeptEntity> deptEntityList = sysDeptDao.selectList(wrapper); |
|
@ -225,6 +226,8 @@ public class SysRoleServiceImpl extends BaseServiceImpl<SysRoleDao, SysRoleEntit |
|
|
formDTOList.add(handleRoleDeptDTO); |
|
|
formDTOList.add(handleRoleDeptDTO); |
|
|
} |
|
|
} |
|
|
formDTO.setHandleRoleDeptDTOList(formDTOList); |
|
|
formDTO.setHandleRoleDeptDTOList(formDTOList); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
eventFeignClient.saveOrUpdateHandleRoleDept(formDTO); |
|
|
eventFeignClient.saveOrUpdateHandleRoleDept(formDTO); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|