select user_id, project_id, status, user_type from sys_user_ext
insert into sys_user_ext
user_id,
project_id,
status,
user_type,
#{userId},
#{projectId},
#{status},
#{userType},
update sys_user_ext
project_id = #{projectId},
status = #{status},
user_type = #{userType},
where user_id = #{userId}
delete from sys_user_ext where user_id = #{userId} and project_id=#{projectId}