Commit 7030ec8e authored by tianyiming's avatar tianyiming

修改行政区划市区查询规则

parent 6c41e89c
......@@ -187,6 +187,10 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
} else {
FeignClientResult tree = privilegeFeginService.getTree();
List<LinkedHashMap> result = (List<LinkedHashMap>) tree.getResult();
if(parentId.contains("_")){
String[] s = parentId.split("_");
parentId = s[0];
}
list = deleteTreeData(result, parentId);
}
return list;
......
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