Skip to content

Commit

Permalink
Merge branch 'v1.3.0-release' of github.com:ZhouYixun/sonic-server in…
Browse files Browse the repository at this point in the history
…to v1.3.0-release
  • Loading branch information
ZhouYixun committed Jan 19, 2022
2 parents 31e6135 + 03fd8db commit 9368e05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public JSONObject findSteps(int id) {
Map<String, List<String>> valueMap = new HashMap<>();
for (GlobalParams g : globalParamsList) {
if (g.getParamsValue().contains("|")) {
List<String> shuffle = Arrays.asList(g.getParamsValue().split("|"));
List<String> shuffle = Arrays.asList(g.getParamsValue().split("\\|"));
Collections.shuffle(shuffle);
valueMap.put(g.getParamsKey(), shuffle);
} else {
Expand Down

0 comments on commit 9368e05

Please sign in to comment.