diff --git a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml index 6e996ad1..f1ace545 100644 --- a/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml +++ b/dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml @@ -428,6 +428,7 @@ and t.invoice_type in('01','03','08','14','31','283','161','183','185') and t.rzh_yesorno = '0' and t.auth_status in('0','5','6') + and t.inaccount_status = '1' and t.export_mark = '0' and t.company = #{company} @@ -460,12 +461,10 @@ - and (t.comp_code in + and t.comp_code in #{companyCode} - or t.comp_code is null or t.comp_code = '' - ) and t.comp_code = #{companyCode}