|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: 报告课程基本情况dto
|
|
* @Description: 报告课程基本情况dto
|
|
@@ -73,7 +74,7 @@ public class ReportCourseBasicInfoDto implements Serializable {
|
|
this.teachingObject = trBasicInfo.getTeachingObject();
|
|
this.teachingObject = trBasicInfo.getTeachingObject();
|
|
this.selectionCount = trBasicInfo.getSelectionCount();
|
|
this.selectionCount = trBasicInfo.getSelectionCount();
|
|
this.participantCount = trBasicInfo.getParticipantCount();
|
|
this.participantCount = trBasicInfo.getParticipantCount();
|
|
- this.courseDegree = trBasicInfo.getCourseDegree();
|
|
|
|
|
|
+ this.courseDegree = Objects.nonNull(trBasicInfo.getCourseDegree()) ? trBasicInfo.getCourseDegree() : this.courseDegree;
|
|
this.teacher = trBasicInfo.getTeacher();
|
|
this.teacher = trBasicInfo.getTeacher();
|
|
this.director = trBasicInfo.getDirector();
|
|
this.director = trBasicInfo.getDirector();
|
|
this.participant = trBasicInfo.getParticipant();
|
|
this.participant = trBasicInfo.getParticipant();
|