From 06d2e498381e9453f829455db27678aa70fa06c8 Mon Sep 17 00:00:00 2001 From: YUJT Date: Sat, 23 Apr 2022 14:50:05 +0800 Subject: [PATCH] append --- .../modules/axis/service/impl/PowerAxisStructServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/impl/PowerAxisStructServiceImpl.java b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/impl/PowerAxisStructServiceImpl.java index 329905e..2e7cc28 100644 --- a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/impl/PowerAxisStructServiceImpl.java +++ b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/axis/service/impl/PowerAxisStructServiceImpl.java @@ -25,7 +25,6 @@ import com.epmet.plugin.power.enums.PowerTagCategoryEnum; import com.epmet.plugin.power.enums.PowerTagLevelEnum; import com.epmet.plugin.power.modules.axis.dao.PowerAxisStructDao; import com.epmet.plugin.power.modules.axis.entity.PowerAxisStructEntity; -import com.epmet.plugin.power.modules.axis.entity.PowerAxisTagEntity; import com.epmet.plugin.power.modules.axis.service.PowerAxisStructService; import com.epmet.plugin.power.modules.axis.service.PowerAxisTagService; import org.apache.commons.lang3.StringUtils; @@ -332,6 +331,7 @@ public class PowerAxisStructServiceImpl extends BaseServiceImpl listParentTreeByLevel(String structLevel, String customerId) { - return baseDao.listParentTreeByLevel(Integer.parseInt(structLevel), customerId); + List result = baseDao.listParentTreeByLevel(Integer.parseInt(structLevel), customerId); + return TreeUtils.build(result); } } \ No newline at end of file