diff --git a/dxhy-sign/src/main/resources/mapper/SignRecordInvoiceMapper.xml b/dxhy-sign/src/main/resources/mapper/SignRecordInvoiceMapper.xml index 99ec4424..9be083f2 100644 --- a/dxhy-sign/src/main/resources/mapper/SignRecordInvoiceMapper.xml +++ b/dxhy-sign/src/main/resources/mapper/SignRecordInvoiceMapper.xml @@ -80,15 +80,15 @@ select t.id,t.invoice_type,t.invoice_code,t.invoice_no,t.invoice_date,t.gf_name,t.xf_name,t.invoice_amount,t.tax_amount,t.dept_id,t.qs_status from t_dx_record_invoice t left join t_dx_invoice r on t.uuid = r.uuid - where + where 1=1 and r.id in - + #{item} - t.company = #{company} + and t.company = #{company} and t.qs_status = '0' and t.source_system='0'