insert into ope_laboratory_reserve(id, reagent_id, article_number,reserve, valid_flag, update_time,user_id,house_id,container_id) values (#{id},#{reagentId},#{articleNumber},#{reserve},#{validFlag},now(),#{userId},#{houseId},#{containerId}) update ope_laboratory_reserve set reagent_id=#{newReId} where reagent_id=#{oldReId} update ope_laboratory_reserve set valid_flag = 0 where reagent_id=#{reagentId} and house_id = #{houseId} and container_id = #{containerId} and user_id = #{userId} and valid_flag = 1