The construction of superhydrophobic surfaces necessitates the rational design of topographic surface structure and the reduction of surface energy. To date, the reported strategies are usually complex with multi-steps and costly. Thus, the simultaneous achievement of the two indispensable factors is highly desired, yet rather challenging. Herein, we develop a novel structure engineering strategy of realizing the fabrication of a functionally integrated device (FID) with a superhydrophobic surface via a one-step spraying method. Specifically, silica nanoparticles are used to control the surface roughness of the device, while polydimethylsiloxane is employed as the hydrophobic coating. Benefitting from the adopted superhydrophobicity, the as-fabricated FID exhibits a continuous, excellent oil-water separating performance (e.g., 92.5% separating efficiency) when coupled with a peristaltic pump. Notably, a smart design of incorporating a gas switch is adopted in this device, thereby effectively preventing water from entering the FID, realizing thorough oil collection, and avoiding secondary pollution. This work opens up an avenue for the design and development of the FID, accessible for rapid preparation and large-scale practical application.