|
|
|
@ -80,7 +80,7 @@ |
|
|
|
|
and t.inaccount_status = '1' |
|
|
|
|
and t.company = #{company} |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
|
and t.comp_code = #{companyCode} |
|
|
|
|
<if test="sfkrz != '99' and sfkrz != null and sfkrz != '' and sfkrz != 'null' and sfkrz == '1'.toString()"> |
|
|
|
|
and t.invoice_status in ('0','7') |
|
|
|
|
and t.invoice_amount>0 |
|
|
|
@ -411,7 +411,7 @@ |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|
and t.company = #{company} |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
|
and t.comp_code = #{companyCode} |
|
|
|
|
<if test="sfkrz != '99' and sfkrz != null and sfkrz != '' and sfkrz != 'null' and sfkrz == '1'.toString()"> |
|
|
|
|
and t.invoice_status in ('0','7') |
|
|
|
|
and t.invoice_amount>0 |
|
|
|
|