|
@@ -172,7 +172,7 @@ public class ExamStudentImportParsingFileTask extends AbstractTask {
|
|
|
list.add(es);
|
|
|
String key = es.getIdentityNumber() + "____" + es.getCourseCode();
|
|
|
if (fullSet.contains(key)) {
|
|
|
- sb.append("line:").append(es.getLineNum()).append("重复数据,做覆盖更新").append("\n");
|
|
|
+ sb.append("line ").append(es.getLineNum()).append(" 重复数据,执行更新").append("\n");
|
|
|
} else {
|
|
|
fullSet.add(key);
|
|
|
}
|
|
@@ -186,7 +186,7 @@ public class ExamStudentImportParsingFileTask extends AbstractTask {
|
|
|
examStudentTempRepo.save(list);
|
|
|
sb.append("====================数据规格错误数据\n");
|
|
|
for (Map<String, Object> cur : failRecords) {
|
|
|
- sb.append("line:").append(cur.get("lineNum")).append(cur.get("msg")).append("\n");
|
|
|
+ sb.append("line ").append(cur.get("lineNum")).append(cur.get("msg")).append("\n");
|
|
|
}
|
|
|
|
|
|
File resultFile = new File(resultFilePath);
|