insert into tb_selection_joiner( selection_id, clazz_id )values( #{selectionId}, #{clazzId} ) delete from tb_selection_joiner where id = #{id} update tb_selection_joiner set selection_id=#{selectionId}, clazz_id=#{clazzId} where id = #{id} update tb_selection_joiner set selection_id = #{selectionId}, clazz_id = #{clazzId} where id = #{id} and id = #{id} and selection_id = #{selectionId} and clazz_id = #{clazzId} delete from tb_selection_joiner where selection_id = #{selectionId}