add v2_inventory and schemaQuery

schemaQuery for better dao