|
|
@@ -262,7 +262,7 @@ public class StudentReportRecordController {
|
|
|
if(dto.getEnrollType() == null || dto.getEnrollType().isEmpty()){
|
|
|
dto.setEnrollType(EnrollTypeEnum.AUTUMN_ENROLLMENT.getCode());
|
|
|
}
|
|
|
- if(dto.getCategory() != null && dto.getCategory() == 2){
|
|
|
+ if(dto.getCategory() != null && dto.getCategory() == 2 && dto.getBaseSemesterId() == null){
|
|
|
dto.setBaseSemesterId(semesterService.getLastSemester());
|
|
|
}
|
|
|
List<StudentReportRecordStatisticsListVo> dataList = studentReportRecordService.getStatisticsDataList(dto);
|