mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-08 08:54:07 +08:00
放弃治疗
This commit is contained in:
@@ -64,25 +64,21 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 人员所在行政区域ID, 只返回根节点, 永远不会返回{@code null}
|
||||
*/
|
||||
@Deprecated
|
||||
Set<TreeNode<String>> getDistrictIds();
|
||||
|
||||
/**
|
||||
* @return 人员所在机构ID, 只返回根节点, 永远不会返回{@code null}
|
||||
*/
|
||||
@Deprecated
|
||||
Set<TreeNode<String>> getOrgIds();
|
||||
|
||||
/**
|
||||
* @return 人员职务ID, 只返回根节点, 永远不会返回{@code null}
|
||||
*/
|
||||
@Deprecated
|
||||
Set<TreeNode<String>> getPositionIds();
|
||||
|
||||
/**
|
||||
* @return 人员所在部门ID, 只返回根节点, 永远不会返回{@code null}
|
||||
*/
|
||||
@Deprecated
|
||||
Set<TreeNode<String>> getDepartmentIds();
|
||||
|
||||
/**
|
||||
@@ -96,7 +92,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 根机构ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getRootOrgId() {
|
||||
return getOrgIds().stream().map(TreeNode::getValue).collect(Collectors.toSet());
|
||||
}
|
||||
@@ -104,7 +99,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 根职位ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getRootPositionId() {
|
||||
return getPositionIds().stream().map(TreeNode::getValue).collect(Collectors.toSet());
|
||||
}
|
||||
@@ -112,7 +106,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 根部门ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getRootDepartmentId() {
|
||||
return getDepartmentIds().stream().map(TreeNode::getValue).collect(Collectors.toSet());
|
||||
}
|
||||
@@ -120,7 +113,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 所有地区ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getAllDistrictId() {
|
||||
return getDistrictIds().stream().map(TreeNode::getAllValue).flatMap(List::stream).collect(Collectors.toSet());
|
||||
}
|
||||
@@ -128,7 +120,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 所有机构ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getAllOrgId() {
|
||||
return getOrgIds().stream().map(TreeNode::getAllValue).flatMap(List::stream).collect(Collectors.toSet());
|
||||
}
|
||||
@@ -136,7 +127,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 所有职位ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getAllPositionId() {
|
||||
return getPositionIds().stream().map(TreeNode::getAllValue).flatMap(List::stream).collect(Collectors.toSet());
|
||||
}
|
||||
@@ -144,7 +134,6 @@ public interface PersonnelAuthorization extends Serializable {
|
||||
/**
|
||||
* @return 所有部门ID
|
||||
*/
|
||||
@Deprecated
|
||||
default Set<String> getAllDepartmentId() {
|
||||
return getDepartmentIds().stream().map(TreeNode::getAllValue).flatMap(List::stream).collect(Collectors.toSet());
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package org.hswebframework.web.organizational.authorization;
|
||||
|
||||
/**
|
||||
* TODO 完成注释
|
||||
* 人员权限信息管理器
|
||||
*
|
||||
* @author zhouhao
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,6 @@ import org.hswebframework.web.entity.organizational.authorization.PositionAttach
|
||||
*
|
||||
* @author hsweb-generator-online
|
||||
*/
|
||||
@Deprecated
|
||||
public interface PersonPositionEntity extends PersonAttachEntity, PositionAttachEntity {
|
||||
/*-------------------------------------------
|
||||
| 属性名常量 |
|
||||
|
||||
Reference in New Issue
Block a user