select registration_id, live_id, user_id, is_win, rize_level, create_time, update_time, create_by, update_by from live_lottery_registration insert into live_lottery_registration live_id, user_id, is_win, rize_level, create_time, update_time, create_by, update_by, #{liveId}, #{userId}, #{isWin}, #{rizeLevel}, #{createTime}, #{updateTime}, #{createBy}, #{updateBy}, update live_lottery_registration live_id = #{liveId}, user_id = #{userId}, is_win = #{isWin}, rize_level = #{rizeLevel}, create_time = #{createTime}, update_time = #{updateTime}, create_by = #{createBy}, update_by = #{updateBy}, where registration_id = #{registrationId} delete from live_lottery_registration where registration_id = #{registrationId} delete from live_lottery_registration where registration_id in #{registrationId}