|
|
|
@ -158,7 +158,7 @@ public class ExtServiceImpl extends Service implements ExtService {
|
|
|
|
|
Map<Long, List<ExtendInfoPO>> allFields = infoPOList.stream().collect(Collectors.groupingBy(ExtendInfoPO::getExtendGroupId));
|
|
|
|
|
//TODO 控制展示权限
|
|
|
|
|
boolean checkRight = true;
|
|
|
|
|
if ("4".equals(extendType) && !user.isAdmin()) {
|
|
|
|
|
if (2 == viewAttr && "4".equals(extendType) && !user.isAdmin()) {
|
|
|
|
|
checkRight = false;
|
|
|
|
|
String ecResourceId = MapperProxyFactory.getProxy(HrmResourceMapper.class).getEcResourceId(String.valueOf(id));
|
|
|
|
|
if (Util.null2String(user.getUID()).equals(ecResourceId)) {
|
|
|
|
|