Parcourir la source

课程修复bug

honorfire il y a 7 mois
Parent
commit
3c29cf44ad

+ 2 - 2
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/mapper/mapping/CourseInfoMapper.xml

@@ -37,7 +37,7 @@
         LEFT JOIN SYS_USER su ON su.ID=ci.TEACHER_ID AND su.DELETE_FLAG ='NOT_DELETE'
         WHERE ci.DELETE_FLAG ='NOT_DELETE'
         <if test="param.collegeId !=null and param.collegeId != ''">
-            and ci.COLLEGE_ID=#{param.courseId}
+            and ci.COLLEGE_ID=#{param.collegeId}
         </if>
         <if test="param.collegeTwoId!=null and param.collegeTwoId != ''">
             and ci.COLLEGE_TWO_ID=#{param.collegeTwoId}
@@ -136,7 +136,7 @@
             and csr.USER_ID=#{param.userId}
         </if>
         <if test="param.collegeId !=null and param.collegeId != ''">
-            and ci.COLLEGE_ID=#{param.courseId}
+            and ci.COLLEGE_ID=#{param.collegeId}
         </if>
         <if test="param.collegeTwoId!=null and param.collegeTwoId != ''">
             and ci.COLLEGE_TWO_ID=#{param.collegeTwoId}

+ 1 - 1
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/mapper/mapping/CourseStudentCollectMapper.xml

@@ -43,7 +43,7 @@
             AND csc.USER_ID =#{param.userId}
         </if>
         <if test="param.collegeId !=null and param.collegeId != ''">
-            and ci.COLLEGE_ID=#{param.courseId}
+            and ci.COLLEGE_ID=#{param.collegeId}
         </if>
         <if test="param.collegeTwoId!=null and param.collegeTwoId != ''">
             and ci.COLLEGE_TWO_ID=#{param.collegeTwoId}