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