语句改一下:
select lpad(子物料编码,level+length(子物料编码),'●') ID
from TB_产品结构表
start with 父物料编码 = '129T027110'
connect by prior 子物料编码 = 父物料编码