Hi Pan gis,
Can you describe the workflow used for creating and saving the query result? Is it just one specific Feature Layer or all layers that were saved from query results?
From my understanding these types of layers should be available in the widget: Add Data widget—Web AppBuilder for ArcGIS | Documentation
Thanks,
-Peter