|
@@ -37,6 +37,7 @@ import java.io.IOException;
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
|
|
+import java.util.LinkedHashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -146,7 +147,7 @@ public class BaseNewStudentController {
|
|
List<Map<String, String>> result = new ArrayList<>();
|
|
List<Map<String, String>> result = new ArrayList<>();
|
|
|
|
|
|
for (Map<Integer, Object> objectMap : errorList) {
|
|
for (Map<Integer, Object> objectMap : errorList) {
|
|
- Map<String, String> object = new HashMap<>();
|
|
|
|
|
|
+ Map<String, String> object = new LinkedHashMap<>();
|
|
object.put("毕业学校", objectMap.get(0)==null?"":objectMap.get(0).toString());
|
|
object.put("毕业学校", objectMap.get(0)==null?"":objectMap.get(0).toString());
|
|
object.put("学生姓名", objectMap.get(1)==null?"":objectMap.get(1).toString());
|
|
object.put("学生姓名", objectMap.get(1)==null?"":objectMap.get(1).toString());
|
|
object.put("性别", objectMap.get(2)==null?"":objectMap.get(2).toString());
|
|
object.put("性别", objectMap.get(2)==null?"":objectMap.get(2).toString());
|
|
@@ -175,7 +176,7 @@ public class BaseNewStudentController {
|
|
List<Map<String, String>> result = new ArrayList<>();
|
|
List<Map<String, String>> result = new ArrayList<>();
|
|
|
|
|
|
for (BaseNewStudentScoreExcelVo objectMap : errorList) {
|
|
for (BaseNewStudentScoreExcelVo objectMap : errorList) {
|
|
- Map<String, String> object = new HashMap<>();
|
|
|
|
|
|
+ Map<String, String> object = new LinkedHashMap<>();
|
|
object.put("毕业学校", objectMap.getGraduateSchool());
|
|
object.put("毕业学校", objectMap.getGraduateSchool());
|
|
object.put("姓名", objectMap.getName());
|
|
object.put("姓名", objectMap.getName());
|
|
object.put("性别", objectMap.getGender());
|
|
object.put("性别", objectMap.getGender());
|