|  | @@ -79,8 +79,8 @@ on a.id = b.sy_pre_assembled_packing_list_id
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="querySyLetterDeposit" resultType="org.jeecg.modules.documents.letterDeposit.entity.SyLetterDeposit">
 | 
	
		
			
				|  |  |  select a.id as id,a.depositary_receipt_no as depositaryReceiptNo,b.order_number as orderNumber,a.export_invoice_no as exportInvoiceNo,
 | 
	
		
			
				|  |  | -a.client_abbreviation as clientAbbreviation,
 | 
	
		
			
				|  |  | -a.the_distribution as theDistribution,a.unit_in_operation as unitInOperation,sum(b.box_number) as boxNumber,sum(b.total_gross_weight) as totalGrossWeight,sum(b.total_volume) as totalVolume,
 | 
	
		
			
				|  |  | +a.client_abbreviation as clientAbbreviation,a.exchange_earnings_value as exchangeEarningsValue,
 | 
	
		
			
				|  |  | +a.distribution_point as distributionPoint,a.unit_in_operation as unitInOperation,sum(b.box_number) as boxNumber,sum(b.total_gross_weight) as totalGrossWeight,sum(b.total_volume) as totalVolume,
 | 
	
		
			
				|  |  |  sum(a.money) as money,a.the_actual_shipping_date as theActualShippingDate,a.exchange_earnings_text as exchangeEarningsText,a.consignee as consignee,a.bill_of_lading_or_carriage_receipt as billOfLadingOrCarriageReceipt,
 | 
	
		
			
				|  |  |  a.addressee as addressee,a.trade_country as tradeCountry,a.arrive_in_country as arriveInCountry,a.export_port as exportPort,a.notifier as notifier,a.nottfy as nottfy,a.destination_port as destinationPort,
 | 
	
		
			
				|  |  |  a.the_documents_state as theDocumentsState from sy_letter_deposit a
 | 
	
	
		
			
				|  | @@ -92,7 +92,7 @@ on a.id = b.sy_letter_deposit_id
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="queryItem" resultType="org.jeecg.modules.documents.letterDeposit.entity.SyLetterDepositItem">
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        select item_number as itemNumber,small_po as smallPo,total,box_number as boxNumber,
 | 
	
		
			
				|  |  | +        select item_number as itemNumber,small_po as smallPo,total,box_number as boxNumber,pre_ids as preIds,
 | 
	
		
			
				|  |  |  total_gross_weight as totalGrossWeight,total_net_weight as totalNetWeight,total_volume as totalVolume,distribution_point as distributionPoint,
 | 
	
		
			
				|  |  |  container_code as containerCode,container_number as containerNumber,unit_price as unitPrice,total_price as totalPrice,
 | 
	
		
			
				|  |  |  hod
 |