diff --git a/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml b/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml index 04ad4ad5..2e21c8c6 100644 --- a/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseFpZhMapper.xml @@ -77,7 +77,7 @@ and t.invoice_type in('01','03','08','14','31','283','161','183','185') and t.bdk_status in ('1','2') and t.export_mark = '0' - and t.auth_status in ('2','3','4','5','6') + and t.auth_status in ('0','2','3','4','5','6') and t.company = #{company} and t.gf_tax_no = #{gfsh} and t.comp_code = #{companyCode} @@ -128,7 +128,7 @@ and t.auth_status = #{rzclzt} - and (t.auth_status = '2' or t.auth_status = '3' or t.auth_status = '4') + and (t.auth_status = '2' or t.auth_status = '3') and t.bdk_status = #{rzlx} @@ -358,7 +358,7 @@ and t.gf_tax_no = #{gfsh} and t.comp_code = #{companyCode} and t.invoice_type in('01','03','08','14','31','283','161','183','185') - and t.auth_status in ('2','3','4','5','6') + and t.auth_status in ('0','2','3','4','5','6') and t.bdk_status in ('1','2') and t.export_mark = '0' and t.company =#{company} @@ -410,7 +410,7 @@ and t.auth_status = #{rzclzt} - and (t.auth_status = '2' or t.auth_status = '3' or t.auth_status = '4') + and (t.auth_status = '2' or t.auth_status = '3') and t.bdk_status = #{rzlx}