|
@@ -89,8 +89,8 @@ public class TCFinalScore extends BaseEntity implements Serializable {
|
|
|
}
|
|
|
|
|
|
public TCFinalScore(MarkStudentScoreVo markStudentScoreVo, String scoreDetail, SourceEnum source, Long userId, Long cultureProgramId, Long courseId) {
|
|
|
-// insertInfo(Objects.nonNull(markStudentScoreVo.getTeacherId()) ? markStudentScoreVo.getTeacherId() : userId);
|
|
|
- insertInfo(userId);
|
|
|
+ insertInfo(Objects.nonNull(markStudentScoreVo.getTeacherId()) ? markStudentScoreVo.getTeacherId() : userId);
|
|
|
+// insertInfo(userId);
|
|
|
this.examId = markStudentScoreVo.getExamId();
|
|
|
this.courseCode = markStudentScoreVo.getCourseCode();
|
|
|
this.courseName = markStudentScoreVo.getCourseName();
|
|
@@ -107,8 +107,8 @@ public class TCFinalScore extends BaseEntity implements Serializable {
|
|
|
}
|
|
|
|
|
|
public TCFinalScore(BasicExamStudent basicExamStudent, BasicCourse basicCourse, SourceEnum source, Long userId, Long cultureProgramId, Long courseId) {
|
|
|
-// insertInfo(Objects.nonNull(basicExamStudent.getTeacherId()) ? basicExamStudent.getTeacherId() : userId);
|
|
|
- insertInfo(userId);
|
|
|
+ insertInfo(Objects.nonNull(basicExamStudent.getTeacherId()) ? basicExamStudent.getTeacherId() : userId);
|
|
|
+// insertInfo(userId);
|
|
|
this.examId = basicExamStudent.getExamId();
|
|
|
this.courseCode = basicCourse.getCode();
|
|
|
this.courseName = basicCourse.getName();
|