|
|
|
@ -35,7 +35,7 @@ |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
where t.invoice_type in ('01','03','08','14','31') and t.auth_status = '4' <!--and rzh_yesorno='1'--> |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
|
and t.comp_code = #{companyCode} |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
|
<if test="skssq != null and skssq != '' and skssq != 'null' "> |
|
|
|
|
and t.rzh_belong_date = #{skssq} |
|
|
|
|
</if> |
|
|
|
|