|
|
@ -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<PowerAxisStructD |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<PowerAxisStructTreeResultDTO> listParentTreeByLevel(String structLevel, String customerId) { |
|
|
|
return baseDao.listParentTreeByLevel(Integer.parseInt(structLevel), customerId); |
|
|
|
List<PowerAxisStructTreeResultDTO> result = baseDao.listParentTreeByLevel(Integer.parseInt(structLevel), customerId); |
|
|
|
return TreeUtils.build(result); |
|
|
|
} |
|
|
|
} |