@@ -429,12 +429,12 @@ public class SysCityServiceImpl extends ServiceImpl<SysCityMapper, SysCity> impl | |||
if (!list.isEmpty()) { | |||
// 获取子级 | |||
list.forEach(item -> { | |||
List<SysCity> children = this.getCityList(item.getId(), type); | |||
if (!children.isEmpty()) { | |||
for (SysCity child : children) { | |||
cityList.add(child); | |||
} | |||
} | |||
// List<SysCity> children = this.getCityList(item.getId(), type); | |||
// if (!children.isEmpty()) { | |||
// for (SysCity child : children) { | |||
// cityList.add(child); | |||
// } | |||
// } | |||
cityList.add(item); | |||
}); | |||
} |