|
|
@ -212,7 +212,7 @@ public class SysRoleServiceImpl extends BaseServiceImpl<SysRoleDao, SysRoleEntit |
|
|
|
HandleRoleDeptFormDTO formDTO = new HandleRoleDeptFormDTO(); |
|
|
|
formDTO.setRoleId(roleId.toString()); |
|
|
|
|
|
|
|
if (null == whistleDeptIdList || whistleDeptIdList.size() == 0) { |
|
|
|
if (null != whistleDeptIdList && whistleDeptIdList.size() > 0) { |
|
|
|
QueryWrapper<SysDeptEntity> wrapper = new QueryWrapper<>(); |
|
|
|
wrapper.in(FieldConstant.ID, whistleDeptIdList); |
|
|
|
List<SysDeptEntity> deptEntityList = sysDeptDao.selectList(wrapper); |
|
|
|