소스 검색

过滤已离职员工数据

syh 4 년 전
부모
커밋
3e9b268401
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/cn/com/ctop/okr/mapper/xml/OkrObjectInfoMapper.xml

+ 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