1. 函数改名
2. 删掉没用文件
This commit is contained in:
@@ -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)
|
||||
// 这是一个非阻塞性错误,继续执行
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user