();
argMap2.put("groupid", group.getId());
ListgroupMemberlist = _gzlxService.selectAllByMapParam("T_GZLX_GROUP_MEMBER_selectAllByMapParam", argMap2);
//组名下成员
JSONArray jsonArrayMember = new JSONArray();
for (int j = 0; j < groupMemberlist.size(); j++) {
JSONObject jsonObejectPerson = new JSONObject();
GroupMemberInfo groupMemberInfo=(GroupMemberInfo)groupMemberlist.get(j);
jsonObejectPerson.put("id", groupMemberInfo.getAccountid());
jsonObejectPerson.put("text", groupMemberInfo.getLxrxm());
jsonArrayMember.add(jsonObejectPerson);
}
if(jsonArrayMember.size() == 0){
JSONObject jsonObejectPerson1 = new JSONObject();
jsonObejectPerson1.put("id", "0");
jsonObejectPerson1.put("text","无");
jsonArrayMember.add(jsonObejectPerson1);
}
jsonObejectZm.put("children", jsonArrayMember);
jsonArrayCy.add(jsonObejectZm);
}
jsonObejectfz.put("children",jsonArrayCy);
jsonListFz.add(jsonObejectfz);
System.out.println(jsonListFz.toString());
this.renderText(jsonListFz.toString());
}