瀏覽代碼

开学报到领导统计调整

dzx 10 月之前
父節點
當前提交
981146e2ba

+ 1 - 1
src/main/java/com/xjrsoft/module/student/controller/StudentReportRecordController.java

@@ -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);