select employees.employees_type,employees.id, employees.post_id, employees.organization_id, organization.organization_name,post.post_name, employees.name, employees.contact_number, employees.create_time, employees.update_time from dc_employees as employees left join dc_organization as organization on organization.id=employees.organization_id left join sys_post as post on post.post_id=employees.post_id insert into dc_employees id, post_id, organization_id, name, contact_number, create_time, update_time, employees_type, wx_user_id, #{id}, #{postId}, #{organizationId}, #{name}, #{contactNumber}, #{createTime}, #{updateTime}, #{employeesType}, #{wxUserId}, update dc_employees post_id = #{postId}, organization_id = #{organizationId}, name = #{name}, contact_number = #{contactNumber}, create_time = #{createTime}, update_time = #{updateTime}, employees_type = #{employeesType}, wx_user_id = #{wxUserId}, where id = #{id} delete from dc_employees where id = #{id} delete from dc_employees where id in #{id} delete from dc_shifts where employees_id in #{id} update dc_employees set organization_id=#{station} where employees_id=#{employeesId}