提交 6568ff66 编写于 作者: NoSubject's avatar NoSubject

Merge branch '查询身份对象默认不关联查询所属的组织、群组等' into 'develop'

查询身份对象默认不关联查询所属的组织、群组等

See merge request o2oa/o2oa!2628
......@@ -125,7 +125,7 @@ public class GroupFactory {
/**
* 查询人员及关联身份、组织所在的群组
*
*
* @param values 用户
* @param recursiveGroupFlag 是否递归查询上级群组
* @param referenceFlag 是否包含查找人员身份成员、人员归属组织成员的所属群组
......@@ -140,17 +140,17 @@ public class GroupFactory {
/** 查询身份所在的群组 */
public List<String> listWithIdentity(List<String> values) throws Exception {
return listWithIdentityReference(values, true, true, true);
return listWithIdentityReference(values, true, true, false);
}
/** 查询身份所在的群组 */
public List<String> listWithIdentity(String... values) throws Exception {
return listWithIdentityReference(Arrays.asList(values), true, true, true);
return listWithIdentityReference(Arrays.asList(values), true, true, false);
}
/**
* 查询身份及关联组织所在的群组
*
*
* @param values 身份
* @param recursiveGroupFlag 是否递归查询上级群组
* @param referenceFlag 是否包含查找人员身份成员、人员归属组织成员的所属群组
......
......@@ -55,7 +55,7 @@ public class IdentityFactory {
/** 批量获取身份对象 */
public List<WoIdentity> listWoObject(List<String> values) throws Exception {
List<? extends Identity> os = ActionListObject.execute(context, values, true);
List<? extends Identity> os = ActionListObject.execute(context, values, false);
return (List<WoIdentity>) os;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册