diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index f1ace545..a40d60d3 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -240,16 +240,16 @@ order by t.invoice_date desc - ,t.sn_voucher_number + order by t.sn_voucher_number - ,t.sn_voucher_number desc + order by t.sn_voucher_number desc - ,t.bzdh + order by t.bzdh - ,t.bzdh desc + order by t.bzdh desc diff --git a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml index d4d1bfcc..6a25b997 100644 --- a/dxhy-core/src/main/resources/mapper/FpZhMapper.xml +++ b/dxhy-core/src/main/resources/mapper/FpZhMapper.xml @@ -99,7 +99,7 @@ and (t.invoice_type in('01','03','08','14','31','283','161','183','185') or (t.invoice_type ='32' and t.lq_tdyslxDm='08')) and t.bdk_status in ('1','2') and t.export_mark = '0' - and t.auth_status != '0' + and t.auth_status in ('2','3','4') and t.company = #{company} and t.gf_tax_no in