|
@@ -71,6 +71,19 @@ sum(a.total_gross_weight) as totalGrossWeight,sum(a.total_volume) as totalVolume
|
|
|
a.depositary_receipt_no as depositaryReceiptNo from sy_pre_assembled_packing_list a
|
|
|
left join sy_pre_assembled_packing_list_item b
|
|
|
on a.id = b.sy_pre_assembled_packing_list_id and b.del_flag = 0
|
|
|
+ ${ew.customSqlSegment}
|
|
|
+
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="querySyLetterDeposit" resultType="org.jeecg.modules.documents.letterDeposit.entity.SyLetterDeposit">
|
|
|
+select a.depositary_receipt_no as depositaryReceiptNo,a.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.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
|
|
|
+left join sy_letter_deposit_item b
|
|
|
+on a.id = b.sy_letter_deposit_id
|
|
|
${ew.customSqlSegment}
|
|
|
|
|
|
</select>
|