feat: 安全回写档口入库码并支持核验恢复 (#234)
This commit is contained in:
@@ -78,6 +78,13 @@ func main() {
|
||||
if aiInterrupted > 0 {
|
||||
log.Printf("已把 %d 个上次进程遗留的 AI 匹配批次标记为中断", aiInterrupted)
|
||||
}
|
||||
innerCodeInterrupted, err := service.InterruptApplyingInnerCodes(db, time.Now())
|
||||
if err != nil {
|
||||
log.Fatalf("恢复中断的档口入库码回写失败: %v", err)
|
||||
}
|
||||
if innerCodeInterrupted > 0 {
|
||||
log.Printf("已把 %d 条上次进程遗留的档口入库码回写标记为需核对", innerCodeInterrupted)
|
||||
}
|
||||
log.Printf("数据库已就绪")
|
||||
|
||||
// 3. Web 引擎
|
||||
|
||||
Reference in New Issue
Block a user