zouxuan 5 лет назад
Родитель
Сommit
5ea3ade86f

+ 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 != ''">