|
@@ -127,8 +127,10 @@ a.order_number as orderNumber,a.client_abbreviation as clientAbbreviation,'CTNS'
|
|
|
from sy_shipping_order_item a
|
|
|
left join sy_declaration_elements b
|
|
|
on a.elements_Id = b.id
|
|
|
+left join sy_packing_list_tailoring_item c
|
|
|
+on a.tailoring_fabric_item_id = c.id
|
|
|
where a.sy_shipping_order_item_id =#{id}
|
|
|
-group by a.group_id) t group by t.elementsId,t.styleNumber,t.smailPo,t.unitPrice order by t.styleNumber,t.smailPo desc
|
|
|
+group by c.group_id) t group by t.elementsId,t.styleNumber,t.smailPo,t.unitPrice order by t.styleNumber,t.smailPo desc
|
|
|
|
|
|
</select>
|
|
|
|