feat: 去除企标多余的数据权限
This commit is contained in:
-10
@@ -157,11 +157,6 @@ public class EnterpriseStandardAuthUserServiceImpl extends ServiceImpl<Enterpris
|
||||
continue;
|
||||
}
|
||||
}
|
||||
// 主起草部门可以看
|
||||
if (gradeClassification.equals("4") && departIds.contains(mainDraftingUnit)) {
|
||||
map.put(FieldCommon.DETAIL_FLAG, true);
|
||||
continue;
|
||||
}
|
||||
map.put(FieldCommon.DETAIL_FLAG, false);
|
||||
}
|
||||
|
||||
@@ -376,11 +371,6 @@ public class EnterpriseStandardAuthUserServiceImpl extends ServiceImpl<Enterpris
|
||||
if (levelDeptIds.stream().anyMatch(departIds::contains)) {
|
||||
return true;
|
||||
}
|
||||
}else if (gradeClassification.equals("4")) {
|
||||
String mainDraftingUnit = es.getMainDraftingUnit();
|
||||
if (departIds.contains(mainDraftingUnit)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// 查询临时授权人员
|
||||
|
||||
Reference in New Issue
Block a user