提交 9bf17806 编写于 作者: O o2null

Merge branch 'fix/视图查询当前人员群组未关联查询当前人员身份和组织的群组' into 'wrdp'

[数据中心]视图查询中当前人员群组未关联查询当前人员身份和组织的群组

See merge request o2oa/o2oa!2461
......@@ -85,7 +85,8 @@ abstract class BaseAction extends StandardJaxrsAction {
runtime.unitAllList.addAll(list);
list.clear();
}
runtime.groupList = business.organization().group().listWithPerson(effectivePerson.getDistinguishedName());
runtime.groupList = business.organization().group().listWithPersonReference(
ListTools.toList(effectivePerson.getDistinguishedName()), true, true, true);
if(runtime.groupList!=null){
for(String item : runtime.groupList){
if(item.indexOf("@")>-1) {
......
......@@ -203,7 +203,7 @@ abstract class BaseAction extends StandardJaxrsAction {
return flag;
}
}
protected String objectToString(Object object) {
String str = "";
if (object instanceof Integer) {
......@@ -222,7 +222,7 @@ abstract class BaseAction extends StandardJaxrsAction {
}
return str;
}
protected Runtime runtime(EffectivePerson effectivePerson, Business business, View view,
List<FilterEntry> filterList, Map<String, String> parameter, Integer count, boolean isBundle) throws Exception {
Runtime runtime = new Runtime();
......@@ -258,7 +258,8 @@ abstract class BaseAction extends StandardJaxrsAction {
runtime.unitAllList.addAll(list);
list.clear();
}
runtime.groupList = business.organization().group().listWithPerson(effectivePerson.getDistinguishedName());
runtime.groupList = business.organization().group().listWithPersonReference(
ListTools.toList(effectivePerson.getDistinguishedName()), true, true, true);
if(runtime.groupList!=null){
for(String item : runtime.groupList){
if(item.indexOf("@")>-1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册