diff --git a/mhd_bms/src/main/resources/mapper/BmsInvoiceListMapper.xml b/mhd_bms/src/main/resources/mapper/BmsInvoiceListMapper.xml index 7e97e7332..8dfe34756 100644 --- a/mhd_bms/src/main/resources/mapper/BmsInvoiceListMapper.xml +++ b/mhd_bms/src/main/resources/mapper/BmsInvoiceListMapper.xml @@ -6,7 +6,7 @@ FROM bms_invoice_list a - LEFT JOIN bms_waybill_invoiced b ON a.id = b.invoice_list_id + where a.is_delete = 0 group by a.id