Browse Source

班级接口增加查询条件

dzx 1 year ago
parent
commit
ac52a7e048
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mapper/base/BaseClass.xml

+ 2 - 2
src/main/resources/mapper/base/BaseClass.xml

@@ -64,10 +64,10 @@
             and t1.classroom_id = #{dto.classroomId}
         </if>
         <if test="dto.code != null and dto.code != ''">
-            and t6.code like concat('%', #{dto.code}, '%')
+            and t1.code like concat('%', #{dto.code}, '%')
         </if>
         <if test="dto.enrollType != null and dto.enrollType != ''">
-            and t6.enroll_type = #{dto.enroll_type}
+            and t1.enroll_type = #{dto.enroll_type}
         </if>
     </select>