|
|
@@ -337,7 +337,9 @@ SELECT
|
|
|
d.declaration_unit,
|
|
|
a.material_composition as composition,
|
|
|
a.guangpei_gate_width as width,
|
|
|
- c.unit_price_including_tax as price,
|
|
|
+-- c.unit_price_including_tax as price,
|
|
|
+ (select unit_price_including_tax from sy_order_data_item c where a.sy_order_data_item_id like concat(c.id ,'%')
|
|
|
+ limit 0,1) as price,
|
|
|
a.r_supplier_code as supplier_code_dyeing_plant,
|
|
|
a.r_supplier as supplier_dyeing_plant,
|
|
|
a.supplier_code as supplier_code_printing_plant,
|
|
|
@@ -369,7 +371,7 @@ SELECT
|
|
|
FROM
|
|
|
sy_shipping_details_item a
|
|
|
left join sy_order_data b on a.sy_order_data_id=b.id
|
|
|
- left join sy_order_data_item c on a.sy_order_data_item_id=c.id
|
|
|
+-- left join sy_order_data_item c on a.sy_order_data_item_id=c.id
|
|
|
left join sy_declaration_elements d on a.elements_id=d.id
|
|
|
) as t1
|
|
|
where sy_shipping_details_item_id in
|