This commit is contained in:
van
2026-04-03 17:48:33 +08:00
parent fa7e26cf6e
commit 3e37587074
5 changed files with 19 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ public interface WeComShareLinkLogisticsJobMapper {
/**
* 待自动扫描但可能未在 Redis 队列中的任务(如纯 SQL 补录的 IMPORTED、入队失败后的 PENDING 等)。
* 含曾 {@code ABANDONED} 的任务(对账时会先归零扫描次数并改回 {@code WAITING} 再入队)。
* 仅 {@code create_time} 在最近一个月内的记录,避免扫到过旧历史。
*/
List<WeComShareLinkLogisticsJob> selectJobsNeedingQueueReconcile(@Param("limit") int limit);