zouxuan 5 年之前
父节点
当前提交
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 != ''">