select id, tempid, dept_id, type, del_flag, create_time, update_time from temp_detp_relevance insert into temp_detp_relevance tempid, dept_id, type, del_flag, create_time, update_time, #{tempid}, #{deptId}, #{type}, #{delFlag}, #{createTime}, #{updateTime}, update temp_detp_relevance tempid = #{tempid}, dept_id = #{deptId}, type = #{type}, del_flag = #{delFlag}, create_time = #{createTime}, update_time = #{updateTime}, where id = #{id} delete from temp_detp_relevance where id = #{id} delete from temp_detp_relevance where id in #{id}