|
@@ -10,12 +10,11 @@ public class ExcelErrorUtil {
|
|
|
return null;
|
|
|
}
|
|
|
HashSet<Integer> set = new HashSet<>(errorList);
|
|
|
- StringBuilder res = new StringBuilder("第");
|
|
|
+ StringBuilder res = new StringBuilder();
|
|
|
for (Integer index : set) {
|
|
|
- res.append(index +3).append(",");
|
|
|
+ res.append(index ).append("、");
|
|
|
}
|
|
|
- res.deleteCharAt(res.lastIndexOf(","));
|
|
|
- res.append("行存在错误");
|
|
|
+ res.deleteCharAt(res.lastIndexOf("、"));
|
|
|
return res.toString();
|
|
|
}
|
|
|
}
|