buhuazhen
2026-04-27 c30ac5918122426ea7a33dbe411aa39b3c7aa2ca
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">