|
|
|
@ -1628,8 +1628,8 @@ |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
and invoice_status != 0 |
|
|
|
|
and DATE_FORMAT( status_update_date, '%Y-%m' ) = DATE_FORMAT( now( ), '%Y-%m' ) |
|
|
|
|
</select> |
|
|
|
|
<!-- and DATE_FORMAT( status_update_date, '%Y-%m' ) = DATE_FORMAT( now( ), '%Y-%m' )--> |
|
|
|
|
<!-- 普票跨年度发票 --> |
|
|
|
|
<select id="getInvoiceTaskRemindingPpknd" resultMap="indexInvoiceTaskRemindingMap" |
|
|
|
|
databaseId="mysql"> |
|
|
|
@ -1671,9 +1671,8 @@ |
|
|
|
|
and invoice_status != '0' |
|
|
|
|
and (invoice_type in('01','03','08','14','31','283','161','183','185') or (invoice_type ='32' and lq_tdyslxDm='08')) |
|
|
|
|
and auth_status = '4' |
|
|
|
|
and date_format(rzh_date,'%Y-%m') = date_format(now(),'%Y-%m') |
|
|
|
|
|
|
|
|
|
</select> |
|
|
|
|
<!-- and date_format(rzh_date,'%Y-%m') = date_format(now(),'%Y-%m')--> |
|
|
|
|
<!-- 签收异常发票 --> |
|
|
|
|
<select id="getInvoiceTaskRemindingQsyc" resultMap="indexInvoiceTaskRemindingMap" |
|
|
|
|
databaseId="mysql"> |
|
|
|
@ -1692,8 +1691,9 @@ |
|
|
|
|
</if> |
|
|
|
|
and invoice_status != '0' |
|
|
|
|
and qs_status = '1' |
|
|
|
|
and date_format(qs_date,'%Y-%m') = date_format(now(),'%Y-%m') |
|
|
|
|
</select> |
|
|
|
|
<!---- and date_format(qs_date,'%Y-%m') = date_format(now(),'%Y-%m')--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 逾期发票 --> |
|
|
|
|