zouxuan 5 years ago
parent
commit
307260850e

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

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