zouxuan 5 năm trước cách đây
mục cha
commit
b1fac4683d

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentManageDao.xml

@@ -253,7 +253,7 @@
             <if test="studentId!=null">
             <if test="studentId!=null">
                 AND cssp.user_id_ = #{studentId}
                 AND cssp.user_id_ = #{studentId}
             </if>
             </if>
-            <if test="courseStatus != null">
+            <if test="courseStatus != null and courseStatus != ''">
                 AND cs.status_ = #{courseStatus}
                 AND cs.status_ = #{courseStatus}
             </if>
             </if>
             <if test="classGroupType!=null">
             <if test="classGroupType!=null">