|
|
@@ -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}
|