hebing #166
+6
-2
@@ -147,7 +147,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
}
|
}
|
||||||
if (role.getRoleName().equals("法律顾问")) {
|
if (role.getRoleName().equals("法律顾问")) {
|
||||||
// 查询角色有关的用户部门
|
// 查询角色有关的用户部门
|
||||||
List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
|
// List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
|
||||||
|
List<Long> deptIds =new ArrayList<>();
|
||||||
|
deptIds.add(sysUser.getDeptId());
|
||||||
caseApplication.setDeptIds(deptIds);
|
caseApplication.setDeptIds(deptIds);
|
||||||
}
|
}
|
||||||
if (StrUtil.isEmpty(caseApplication.getNameId()) && role.getRoleName().equals("申请人")) {
|
if (StrUtil.isEmpty(caseApplication.getNameId()) && role.getRoleName().equals("申请人")) {
|
||||||
@@ -205,7 +207,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
}
|
}
|
||||||
if(role.getRoleName().equals("法律顾问")){
|
if(role.getRoleName().equals("法律顾问")){
|
||||||
// 查询角色有关的用户部门
|
// 查询角色有关的用户部门
|
||||||
List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
|
// List<Long> deptIds = sysDeptMapper.selectUserDeptListByRoleId(role.getRoleId());
|
||||||
|
List<Long> deptIds =new ArrayList<>();
|
||||||
|
deptIds.add(sysUser.getDeptId());
|
||||||
caseApplication.setDeptIds(deptIds);
|
caseApplication.setDeptIds(deptIds);
|
||||||
}
|
}
|
||||||
if(StrUtil.isEmpty(caseApplication.getNameId())&&role.getRoleName().equals("申请人")){
|
if(StrUtil.isEmpty(caseApplication.getNameId())&&role.getRoleName().equals("申请人")){
|
||||||
|
|||||||
Reference in New Issue
Block a user