Преглед на файлове

调课顶课规则调整

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