|
|
|
@ -1636,13 +1636,8 @@ |
|
|
|
|
'ycfpWarning' 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 (comp_code = #{paramsData.companyCode} or comp_code = '' or comp_code is null) |
|
|
|
|
and invoice_status != 0 |
|
|
|
|
and invoice_type in ('01','03','08','14','31') |
|
|
|
|
and company = #{paramsData.company} |
|
|
|
@ -1679,14 +1674,8 @@ |
|
|
|
|
'rzhyc' 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 (comp_code = #{paramsData.companyCode} or comp_code = '' or comp_code is null) |
|
|
|
|
and invoice_status != '0' |
|
|
|
|
and (rzh_yesorno = '1' or rzh_yesorno = '2') |
|
|
|
|
and invoice_type in ('01','03','08','14','31') |
|
|
|
@ -1702,20 +1691,12 @@ |
|
|
|
|
'qshyc' 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 (comp_code = #{paramsData.companyCode} or comp_code = '' or comp_code is null) |
|
|
|
|
and invoice_status != '0' |
|
|
|
|
and qs_status = '1' |
|
|
|
|
and invoice_type in ('01','03','08','14','31') |
|
|
|
|
|
|
|
|
|
and company = #{paramsData.company} |
|
|
|
|
|
|
|
|
|
and invoice_date between #{paramsData.kpksrq} and #{paramsData.kpjsrq} |
|
|
|
|
</select> |
|
|
|
|
<!---- and date_format(qs_date,'%Y-%m') = date_format(now(),'%Y-%m')--> |
|
|
|
|