|
@@ -2721,7 +2721,7 @@ public class WmScorePackageController {
|
|
|
if (size > 1){
|
|
|
List<Integer> index = new ArrayList<>(size);
|
|
|
List<String> temp = new ArrayList<>(names);
|
|
|
- Iterator<String> iterator = names.iterator();
|
|
|
+ Iterator<String> iterator = temp.iterator();
|
|
|
while (iterator.hasNext()){
|
|
|
int idx = temp.lastIndexOf(name);
|
|
|
if(idx != -1){
|
|
@@ -2731,7 +2731,7 @@ public class WmScorePackageController {
|
|
|
|
|
|
}
|
|
|
|
|
|
- errorMap.put("模板内积分包名称重复", index);
|
|
|
+ errorMap.put("模板内积分包名称重复", index.stream().sorted().collect(Collectors.toList()));
|
|
|
}
|
|
|
}
|
|
|
|