@@ -108,8 +108,8 @@
objectInfo.*
from
wx_user_info user
- left join wx_user_depart_map map on map.open_id = objectInfo.user_id
left join okr_object_info objectInfo on user.open_id = objectInfo.user_id
+ left join wx_user_depart_map map on map.open_id = objectInfo.user_id
where
map.depart_id in (select depart_id from wx_user_depart_map where open_id = #{openId} and depart_id not in (19,37))
and