@@ -107,9 +107,9 @@
select
objectInfo.*
from
- okr_object_info objectInfo
+ wx_user_info user
left join wx_user_depart_map map on map.open_id = objectInfo.user_id
- left join wx_user_info user on user.open_id = objectInfo.user_id
+ left join okr_object_info objectInfo on user.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