|
|
|
@ -33,9 +33,9 @@ |
|
|
|
|
from t_dx_invoice t inner join t_dx_record_invoice r on t.uuid = r.uuid |
|
|
|
|
where t.qs_status = '0' |
|
|
|
|
and t.qs_date between #{qsrqq} and #{qsrqz} |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
|
and r.gf_tax_no = #{gfsh} |
|
|
|
|
<if test="companyCode != null and companyCode != '' and companyCode != 'null' "> |
|
|
|
|
and t.comp_code = #{companyCode} |
|
|
|
|
and (r.comp_code = #{companyCode} or r.comp_code = '' or r.comp_code is null) |
|
|
|
|
</if> |
|
|
|
|
<if test="xfmc != null and xfmc != '' and xfmc != 'null' "> |
|
|
|
|
and t.xf_name like CONCAT(#{xfmc},'%') |
|
|
|
|