导入考题修改列名截取
This commit is contained in:
@@ -50,7 +50,7 @@ public class ClassExamController {
|
|||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
Map.Entry<String, String> entry = it.next();
|
Map.Entry<String, String> entry = it.next();
|
||||||
String pos = entry.getKey();
|
String pos = entry.getKey();
|
||||||
String rowNo = pos.substring(1);
|
String rowNo = pos.replaceAll("[a-zA-Z]", "");
|
||||||
count = Integer.parseInt(rowNo);
|
count = Integer.parseInt(rowNo);
|
||||||
// System.out.println(pos + ";" + entry.getValue());
|
// System.out.println(pos + ";" + entry.getValue());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user