소스 검색

调课顶课规则调整

dzx 1 년 전
부모
커밋
5e53abf243
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/java/com/xjrsoft/module/courseTable/service/impl/CourseTableServiceImpl.java

+ 3 - 0
src/main/java/com/xjrsoft/module/courseTable/service/impl/CourseTableServiceImpl.java

@@ -309,6 +309,9 @@ public class CourseTableServiceImpl extends ServiceImpl<CourseTableMapper, Cours
         for (WfCourseAdjust courseAdjust : exceptCourseList) {
             String[] split = courseAdjust.getCourseId().split(",");
             for (String s : split) {
+                if(StrUtil.isEmpty(s)){
+                    continue;
+                }
                 courseIds.add(Long.parseLong(s));
             }
         }