diff --git a/web/src/main/resources/sql/jlw/resourcesApplicationCourse.md b/web/src/main/resources/sql/jlw/resourcesApplicationCourse.md
index 7ebe5466..82537b16 100644
--- a/web/src/main/resources/sql/jlw/resourcesApplicationCourse.md
+++ b/web/src/main/resources/sql/jlw/resourcesApplicationCourse.md
@@ -203,7 +203,7 @@ getAllByApplicationIds
   @} else {
   and b.universities_colleges_id = -1
   @}
+  WHERE a.course_label_type = '理论课程类' AND t.course_info_status = 1 AND t.course_info_type = 1
   @if(!isEmpty(applicationIds)){
   and find_in_set(c.resources_application_id, #applicationIds#)
   @}
-  WHERE a.course_label_type = '理论课程类' AND t.course_info_status = 1 AND t.course_info_type = 1