liyong
2026-04-28 2c51e2bac7e271f6bd1a7da060e4ffd327d5a8d2
src/main/resources/mapper/production/ProductStructureMapper.xml
@@ -23,6 +23,9 @@
                left join product p on pm.product_id = p.id
                left join product_process pp on ps.process_id = pp.id
        where ps.bom_id = #{bomId}
        <if test="isParent">
            and ps.parent_id is not null
        </if>
        order by ps.id
    </select>
    <select id="listBybomAndProcess" resultType="com.ruoyi.production.dto.ProductStructureDto">