Browse Source

bug修改

anderx 4 years ago
parent
commit
d7ef966560
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/AdminMapper.xml

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

@@ -1114,7 +1114,7 @@
      left join organization_identity c on a.id=c.uid
      left join (select y.id,y.uid,y.name ,y.mobile ,y.department ,y.`position`from (
          select uid,max(id)id from organization_contact_book where major =1 and aid = #{aid} group by uid )x
-        left join organization_contact_book y on x.id=y.id) d on a.id =c.uid
+        left join organization_contact_book y on x.id=y.id) d on a.id =d.uid
      <if test="type==5 or type==6">
 	left join (select aid,uid from public_release where clock_in =1
 	and aid= #{aid,jdbcType=VARCHAR}