diff --git a/dxhy-core/src/main/resources/mapper/BbfpzhslMapper.xml b/dxhy-core/src/main/resources/mapper/BbfpzhslMapper.xml index 83bcb873..a7c24eed 100644 --- a/dxhy-core/src/main/resources/mapper/BbfpzhslMapper.xml +++ b/dxhy-core/src/main/resources/mapper/BbfpzhslMapper.xml @@ -25,10 +25,9 @@ tdis.tax_rate taxRate, t.inaccount_status from t_dx_record_invoice t - left join t_dx_record_invoice_statistics tdis + left join dxhy_detail.t_dx_record_invoice_detail tdis - on t.invoice_no = tdis.invoice_no - and t.invoice_code = tdis.invoice_code + on t.uuid = tdis.uuid where t.invoice_date between #{kpksrq} and #{kpjsrq} and t.company = #{company}