Explorar o código

单位客户查询BUG修复

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
57317cf0c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -373,7 +373,7 @@
 		from user a 
 		left join organization_identity b on a.id = b.uid
 		<if test="departmentId != null and departmentId !=''">
-		left join (select id
+		INNER join (select id
 		from admin 
 		where department_id=#{departmentId,jdbcType=VARCHAR}) d on a.aid = d.id
 		</if>