feat: 增加顺运宝批量 AI 规格匹配 (#202)

This commit is contained in:
chengma
2026-08-14 10:30:08 +08:00
parent 0201dab98c
commit d64579e9b3
26 changed files with 1289 additions and 26 deletions
+7
View File
@@ -71,6 +71,13 @@ func main() {
if interrupted > 0 {
log.Printf("已把 %d 条上次进程遗留的顺运宝同步记录标记为中断", interrupted)
}
aiInterrupted, err := service.InterruptRunningAIMatchBatches(db, time.Now())
if err != nil {
log.Fatalf("收敛上次进程遗留的 AI 匹配批次失败: %v", err)
}
if aiInterrupted > 0 {
log.Printf("已把 %d 个上次进程遗留的 AI 匹配批次标记为中断", aiInterrupted)
}
log.Printf("数据库已就绪")
// 3. Web 引擎