zouxuan преди 5 години
родител
ревизия
5ea3ade86f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      edu-user/edu-user-server/src/main/resources/config/mybatis/TeacherMapper.xml

+ 1 - 1
edu-user/edu-user-server/src/main/resources/config/mybatis/TeacherMapper.xml

@@ -97,7 +97,7 @@
 			<if test="tenantId != null and tenantId != 0">
 				AND t.tenant_id_ = #{tenantId}
 			</if>
-			<if test="organId != null">
+			<if test="organId != null and organId != 0">
 				AND t.organ_id_ = #{organId}
 			</if>
 			<if test="settlementType != null and settlementType != ''">