diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index 75c25c25..69523f6d 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -27,7 +27,6 @@ - @@ -77,7 +76,7 @@ select t.invoice_type,t.dept_id,t.dept_name,t.comp_code,t.bzr ,t.id,t.invoice_code,t.invoice_no,t.gf_name,t.gf_tax_no,t.xf_name, DATE_FORMAT(t.invoice_date,'%Y-%m-%d')invoice_date,t.invoice_amount,t.tax_amount,t.invoice_status,DATE_FORMAT(t.qs_date,'%Y-%m-%d')qs_date - ,t.qs_type,t.qs_status,t.dk_tax_amount,t.qs_name,t.auth_status,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period, + ,t.qs_type,t.qs_status,t.dk_tax_amount,t.qs_name,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period, case date_format(t.invoice_date,'%Y%m%d') between c.select_start_date and c.select_end_date when true then 1 else 2 end authStatus,t.bzdh,t.suspend_status,t.suspend_date,