Commit efdee5c5 by 墨竹

fix:离职继承bug修改

parent c663408b
......@@ -426,7 +426,7 @@
WHERE
wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
and super_manager_flag is null
and wx_user_id =#{wxUserId}
and (wx_user_id = #{wxUserId} or wx_open_user_id = #{wxUserId})
order by update_time desc,create_time desc limit 1
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment