Browse Source

单位客户查询BUG修复

anderx 7 years ago
parent
commit
57317cf0c8
1 changed files with 1 additions and 1 deletions
  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>