zouxuan 5 лет назад
Родитель
Сommit
307260850e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

@@ -242,10 +242,10 @@
             <if test="search!=null and search!=''">
                 AND (pg.name_ LIKE CONCAT('%',#{search},'%') OR pg.id_= #{search})
             </if>
-            <if test="teacherId!=null">
+            <if test="teacherId != null">
                 AND pg.user_id_=#{teacherId}
             </if>
-            <if test="studentId!=null">
+            <if test="studentId != null">
                 AND pg.student_id_ = #{studentId}
             </if>
             <if test="practiceGroupType !=null and practiceGroupType != ''">