|
@@ -1050,6 +1050,7 @@ public class BaseStudentAssessmentInspectionServiceImpl extends MPJBaseServiceIm
|
|
|
List<BaseStudentAssessmentStudentRelation> childInsertList = new ArrayList<>();
|
|
|
List<BaseStudentAssessmentClassRelation> child2InsertList = new ArrayList<>();
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
|
|
|
+ int sortCode = 1;
|
|
|
for (ImportBaseStudentAssessmentInspectionDto dto : savedDataList) {
|
|
|
long id = IdUtil.getSnowflakeNextId();
|
|
|
BaseStudentAssessmentInspection data = new BaseStudentAssessmentInspection();
|
|
@@ -1098,8 +1099,9 @@ public class BaseStudentAssessmentInspectionServiceImpl extends MPJBaseServiceIm
|
|
|
BaseStudentAssessmentClassRelation children = new BaseStudentAssessmentClassRelation();
|
|
|
children.setBaseStudentAssessmentInspectionId(id);
|
|
|
children.setClassId(baseClass.getId());
|
|
|
+ children.setSortCode(sortCode);
|
|
|
child2InsertList.add(children);
|
|
|
-
|
|
|
+ sortCode ++;
|
|
|
}else if("个人".equals(dto.getAssessmentType())){
|
|
|
data.setAssessmentType("personal");
|
|
|
if(!studentMap.containsKey(dto.getCredentialNumber())){
|