Skip to content

Commit

Permalink
fix update batch
Browse files Browse the repository at this point in the history
  • Loading branch information
timyuer committed Aug 28, 2024
1 parent 86e4456 commit 2fc6fca
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,12 @@ public void onFailure() {
}
}
}

taskMapper.updateStateByIds(taskPOList);
stageMapper.updateStateByIds(stagePOList);
if (!taskPOList.isEmpty()) {
taskMapper.updateStateByIds(taskPOList);
}
if (!stagePOList.isEmpty()) {
stageMapper.updateStateByIds(stagePOList);
}
jobMapper.updateById(jobPO);
}

Expand Down

0 comments on commit 2fc6fca

Please sign in to comment.