Skip to content

Commit

Permalink
Merge pull request SonicCloudOrg#121 from JayWenStar/fix_step_sort
Browse files Browse the repository at this point in the history
🐛: 修复步骤错乱问题
  • Loading branch information
ZhouYixun authored Jan 17, 2022
2 parents 2a2fd19 + 2df1ea5 commit 2f6ff62
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public void sortSteps(StepSort stepSort) {
.le(Steps::getSort, stepSort.getStartId())
// >=
.ge(Steps::getSort, stepSort.getEndId())
.orderByAsc(Steps::getSort)
.list();

if (stepSort.getDirection().equals("down")) {
Expand Down

0 comments on commit 2f6ff62

Please sign in to comment.