master
tianxinlei 2026-05-29 17:43:09 +08:00
parent 124581c976
commit 5fff47c59e
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@
COUNT(*) AS listCount
FROM safety_accountability_task_list tl
LEFT JOIN corp_info ci ON tl.execute_corp_id = ci.id
WHERE tl.issue_status = 1 AND tl.delete_enum = 'FALSE'
WHERE tl.issue_status = 1 AND tl.delete_enum = 'FALSE' AND tl.period_end_time < NOW()
<if test="params.corpName != null and params.corpName != ''">
AND ci.corp_name LIKE CONCAT('%', #{params.corpName}, '%')
</if>