1. 函数改名
2. 删掉没用文件
This commit is contained in:
@@ -694,7 +694,7 @@ func (r *gormPlanRepository) StopPlanTransactionally(planID uint) error {
|
||||
}
|
||||
|
||||
// 3.1 批量更新任务执行日志状态为“已取消”
|
||||
if err := executionLogRepoTx.UpdateLogStatusByIDs(taskLogIDs, models.ExecutionStatusCancelled); err != nil {
|
||||
if err := executionLogRepoTx.UpdateTaskExecutionLogStatusByIDs(taskLogIDs, models.ExecutionStatusCancelled); err != nil {
|
||||
return fmt.Errorf("批量更新任务执行日志状态为 '已取消' 失败: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user