guoyuji
2024-07-12 f4e8f069d050293232cfe68ebd38b2b05c4ad4b4
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -587,14 +587,15 @@
               o.project,
               od.building_number,
               od.processing_note,
               od.width,
               od.height,
               ogd.child_width as width,
               ogd.child_height as height,
               ogd.glass_child,
               ogd.process,
               e.type_name,
               opd.stock_id,
               od.quantity,
               od.other_columns
               od.other_columns,
               od.bend_radius
        from pp.optimize_detail opd
                 left join sd.`order` o on SUBSTR(opd.process_id, 1, 10) = o.order_id
                 left join sd.order_detail od
@@ -612,8 +613,8 @@
        select o.order_id ,
               o.project,
               o.customer_id ,
               od.width,
               od.height,
               ogd.child_width as width,
               ogd.child_height as height,
               od.quantity,
               od.order_number as orderNumber,
               fc.technology_number as technologyNumber,
@@ -623,7 +624,8 @@
               ifnull(od.processing_note,'') as processing_note,
               bgt.type_name,
               od.other_columns,
               od.building_number
               od.building_number,
               od.bend_radius
        from sd.order as o
                 left join sd.order_detail as od on o.order_id = od.order_id
                 left join sd.order_glass_detail as ogd on ogd.order_id=od.order_id and ogd.order_number=od.order_number