zouxuan 5 years ago
parent
commit
307260850e
1 changed files with 2 additions and 2 deletions
  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 != ''">