修改生成消息的定时任务,把posting_date改成create_time,因为同步365数据是同步昨天的数据
This commit is contained in:
@@ -428,7 +428,7 @@
|
||||
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, ',') )
|
||||
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>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user