yxk-20260729

改善提案
新增流程表达式getRequiredUsersListByRole
根据角色找人
This commit is contained in:
ye1023
2026-07-29 09:38:52 +08:00
parent 58da0788bb
commit 3343d66093
8 changed files with 89 additions and 2 deletions
@@ -575,4 +575,13 @@ public interface ISysBaseAPI extends CommonAPI {
List<String> getUsersListByDeptIdAndRoleIdLocalApi(String deptId, String roleId);
List<String> getUserByRoleIdLocalApi(String roleId);
}
/**
* Query active usernames by role for Flowable multi-instance tasks.
* This method intentionally uses an independent query path so existing role queries remain unchanged.
*
* @param roleId system role id
* @return active username list
*/
List<String> getUsernamesByRoleIdLocalApi(String roleId);
}