Commit 79d2b0ca authored by lisong's avatar lisong

修改bug

parent 41879898
......@@ -1736,7 +1736,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
collect.forEach(item -> {
HashMap<String, Object> buildingData = new HashMap<>();
// 建筑默认父级id 为顶级id
buildingData.put("parentId", id);
buildingData.put("parentId", 0);
// 建筑类型
String groupCode = null;
if (!ObjectUtils.isEmpty(item.getBuildingType())) {
......
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