From bdf6d9e3a1e209357e79dd1088ff9688d6a4c2ea Mon Sep 17 00:00:00 2001 From: anhc <3442943606@qq.com> Date: Wed, 13 Jul 2022 14:36:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=BA=A4=E5=B0=8F=E7=BB=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cooperation/CoeCooperationAPIManager.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/CoeCooperationAPIManager.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/CoeCooperationAPIManager.java index d011ab4b..727f2d74 100644 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/CoeCooperationAPIManager.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/CoeCooperationAPIManager.java @@ -127,6 +127,27 @@ public class CoeCooperationAPIManager { return dao.queryUserListByTeam(teamId); } + /** + * 获取小组下指定用户的多角色列表 + * @param teamId + * @param userid + * @return + */ + public List queryCooperationTeamMembersByUser(String teamId,String userid) { + CoeCooperationMemberDao dao = new CoeCooperationMemberDao(); + return dao.getTeamRolesByUser(teamId,userid); + } + + /** + * 获取小组下指定用户的隐藏角色-用户权限 + * @param teamId + * @param userid + * @return + */ + public CoeCooperationRoleModel queryCooperationTeamHideRole(String teamId,String userid){ + CoeCooperationRoleDao roleDao = new CoeCooperationRoleDao(); + return roleDao.getCooperationHideRoleByRoleName(teamId,userid); + } /** * 获取小组的管理员用户 * @param teamId