Commit 7837219a authored by zhangyingbin's avatar zhangyingbin

通讯录树列表接口修改

parent 9974d421
...@@ -149,7 +149,9 @@ public class InspectionController { ...@@ -149,7 +149,9 @@ public class InspectionController {
while(iter.hasNext()){ while(iter.hasNext()){
String json = JSON.toJSONString(iter.next()); String json = JSON.toJSONString(iter.next());
CompanyModel companyModel = JSON.parseObject(json,CompanyModel.class); CompanyModel companyModel = JSON.parseObject(json,CompanyModel.class);
if(!companyModel.getLevel().equals("company")){
ids.add(String.valueOf(companyModel.getSequenceNbr())); ids.add(String.valueOf(companyModel.getSequenceNbr()));
}
recursion(companyModel.getChildren(),ids); recursion(companyModel.getChildren(),ids);
} }
return ids; return ids;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment