Przeglądaj źródła

过滤已离职员工数据

syh 4 lat temu
rodzic
commit
3e9b268401

+ 1 - 1
src/main/java/cn/com/ctop/okr/mapper/xml/OkrObjectInfoMapper.xml

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