zouxuan 5 سال پیش
والد
کامیت
c507c00004
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      edu-user/edu-user-biz/src/main/resources/config/mybatis/ExamReviewMapper.xml

+ 2 - 2
edu-user/edu-user-biz/src/main/resources/config/mybatis/ExamReviewMapper.xml

@@ -137,8 +137,8 @@
 			<if test="cardNo!=null">
 				AND ere.card_no_=#{cardNo}
 			</if>
-			<if test="organId!=null">
-				AND ere.organ_id_=#{organId}
+			<if test="organId != null and organId != 0">
+				AND ere.organ_id_ = #{organId}
 			</if>
 			<if test="subjectId!=null">
 				AND ere.subject_id_=#{subjectId}