guoyuji
2024-07-17 7189df334b1bb47722ab314f09553595abef9af9
north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -468,8 +468,9 @@
            and f.this_process = b.this_process
            and f.order_number = a.order_number
            and f.technology_number = a.technology_number
        <if test="nextProcess != null and nextProcess != ''">
            left join (select ifnull(sum(completed_quantity),0) as completed_quantity ,
            left join (select sum(ifnull(completed_quantity,0)+ifnull(breakage_quantity,0)) as completed_quantity ,
                            rw.process_id,
                            rwd.order_number,
                            rwd.technology_number,