buhuazhen
2026-04-27 7bd5b1012e767f9273129c63909395390d8014e7
src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -52,10 +52,10 @@
                and ppm.audit_status = #{c.auditStatus}
            </if>
            <if test="c.workOrderId != ''">
                and pot.work_order_id = #{c.workOrderId}
                and ppm.work_order_id = #{c.workOrderId}
            </if>
        </where>
        order by ppm.id
        order by pwo.id desc, ppm.id asc
    </select>
    <select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">