1. 函数改名

2. 删掉没用文件
This commit is contained in:
2025-09-23 11:08:18 +08:00
parent f5e862ee86
commit 05e789b707
5 changed files with 8 additions and 37 deletions

View File

@@ -217,7 +217,7 @@ func (app *Application) initializePendingTasks(
// 批量更新 TaskExecutionLog 状态为取消
if len(taskLogIDsToCancel) > 0 {
if err := executionLogRepo.UpdateLogStatusByIDs(taskLogIDsToCancel, models.ExecutionStatusCancelled); err != nil {
if err := executionLogRepo.UpdateTaskExecutionLogStatusByIDs(taskLogIDsToCancel, models.ExecutionStatusCancelled); err != nil {
logger.Errorf("批量更新任务执行日志状态为取消失败: %v", err)
// 这是一个非阻塞性错误,继续执行
}