|  | @@ -369,10 +369,12 @@ ${ew.customSqlSegment}
 | 
											
												
													
														|  |          b.distribution_Point 'distributionPoint',b.pack_id 'packId',
 |  |          b.distribution_Point 'distributionPoint',b.pack_id 'packId',
 | 
											
												
													
														|  |          b.material_composition 'composition',b.box_number 'boxNumber',
 |  |          b.material_composition 'composition',b.box_number 'boxNumber',
 | 
											
												
													
														|  |         --b.d_arrive_date 'arriveDate',sum(b.shipment_quantity) 'deliveryQuantity',
 |  |         --b.d_arrive_date 'arriveDate',sum(b.shipment_quantity) 'deliveryQuantity',
 | 
											
												
													
														|  | -        b.ompo_Id_Item 'purchaseId'
 |  | 
 | 
											
												
													
														|  | 
 |  | +        b.ompo_Id_Item 'purchaseId',
 | 
											
												
													
														|  | 
 |  | +        c.declaration_name,c.declaration_unit
 | 
											
												
													
														|  |          from sy_shipping_details a
 |  |          from sy_shipping_details a
 | 
											
												
													
														|  |          left join sy_shipping_details_item b
 |  |          left join sy_shipping_details_item b
 | 
											
												
													
														|  |          on a.id=b.shipping_details_id
 |  |          on a.id=b.shipping_details_id
 | 
											
												
													
														|  | 
 |  | +        left join sy_declaration_elements c on b.elements_id=c.id
 | 
											
												
													
														|  |          where a.id  in
 |  |          where a.id  in
 | 
											
												
													
														|  |          <foreach collection="id" item="item"  open="(" separator="," close=")">
 |  |          <foreach collection="id" item="item"  open="(" separator="," close=")">
 | 
											
												
													
														|  |              #{item}
 |  |              #{item}
 |