修改生成消息的定时任务,把posting_date改成create_time,因为同步365数据是同步昨天的数据

This commit is contained in:
sh
2026-06-22 18:58:04 +08:00
parent 18ccf628fc
commit 540299b0fc

View File

@@ -428,7 +428,7 @@
JOIN job_title t ON ( t.job_name LIKE '%' || j.job_title || '%' OR j.job_category = t.job_name) JOIN job_title t ON ( t.job_name LIKE '%' || j.job_title || '%' OR j.job_category = t.job_name)
JOIN app_user u ON CAST(t.job_id AS TEXT) = ANY( string_to_array(u.job_title_id, ',') ) JOIN app_user u ON CAST(t.job_id AS TEXT) = ANY( string_to_array(u.job_title_id, ',') )
LEFT JOIN notice um ON um.user_id = u.user_id AND um.bussiness_id = j.job_id LEFT JOIN notice um ON um.user_id = u.user_id AND um.bussiness_id = j.job_id
WHERE j.posting_date >= #{tenMinutesAgo} AND um.notice_id IS NULL WHERE j.create_time >= #{tenMinutesAgo} AND um.notice_id IS NULL
</select> </select>
</mapper> </mapper>