fix: also change other status to redo if force complete
This commit is contained in:
parent
7c582ffcf8
commit
697111d5f6
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ export class TaskActionController extends Controller {
|
|||
tx.task.updateMany({
|
||||
where: {
|
||||
taskOrderId: taskOrderId,
|
||||
taskStatus: TaskStatus.Restart,
|
||||
taskStatus: { notIn: [TaskStatus.Canceled, TaskStatus.Success] },
|
||||
},
|
||||
data: { taskStatus: TaskStatus.Redo },
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue