|
|
|
@ -1622,11 +1622,7 @@ |
|
|
|
|
and period_add(tdtc.current_tax_period, 1) >= date_format (date_add(invoice_date, interval 360 |
|
|
|
|
day), '%Y%m') |
|
|
|
|
and date_format(invoice_date, '%Y%m%d') >= tdtc.select_start_date |
|
|
|
|
AND t.gf_tax_no IN |
|
|
|
|
<foreach collection="paramsData.taxno" index="index" item="item" open="(" separator="," |
|
|
|
|
close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
AND t.gf_tax_no = #{paramsData.gfsh} |
|
|
|
|
</select> |
|
|
|
|
<!-- 异常发票 --> |
|
|
|
|
<select id="getInvoiceTaskRemindingYc" resultMap="indexInvoiceTaskRemindingMap" |
|
|
|
@ -1652,14 +1648,7 @@ |
|
|
|
|
'ptkndWarning' warningType |
|
|
|
|
from |
|
|
|
|
t_dx_record_invoice |
|
|
|
|
where |
|
|
|
|
gf_tax_no in |
|
|
|
|
<if test="paramsData.taxno != null"> |
|
|
|
|
<foreach item="item" index="index" collection="paramsData.taxno" open="(" separator="," |
|
|
|
|
close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
where gf_tax_no = #{paramsData.gfsh} |
|
|
|
|
and qs_status = '1' |
|
|
|
|
and invoice_type in ('04','10','11','32','186') |
|
|
|
|
and date_format(invoice_date,'%Y') = #{paramsData.billingYear} |
|
|
|
|