| | |
| | | opd.stock_id, |
| | | od.quantity, |
| | | od.other_columns, |
| | | od.bend_radius |
| | | od.bend_radius, |
| | | opd.heat_layout_id, |
| | | opd.heat_layout_sort |
| | | 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 |
| | |
| | | dd.breakage_reason, |
| | | dd.responsible_process, |
| | | dd.responsible_team, |
| | | concat('对应我司单号', o.batch) AS otherRemarks |
| | | concat('对应我司单号', o.batch) AS otherRemarks, |
| | | dd.responsible_personnel |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and |
| | |
| | | dd.breakage_reason, |
| | | dd.responsible_process, |
| | | dd.responsible_team, |
| | | concat('对应我司单号', o.batch) AS otherRemarks |
| | | concat('对应我司单号', o.batch) AS otherRemarks, |
| | | dd.responsible_personnel |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and |