In order to accurately predict the remaining useful life (RUL) of mechanical equipment under conditions of missing data, this paper proposes a novel integrated framework for data repair and RUL prediction, named DRTCR. DRTCR possesses the dual functionality of missing data repair and RUL prediction. Initially, considering the underlying trends and periodic fluctuations in the signals, polynomial and trigonometric functions are incorporated into the implicit feature matrix (IFM) generated by Gaussian random functions. This approach involves constructing a data repair deep learning framework primarily based on LSTM and CNN. This framework facilitates the repair of missing data. Furthermore, this paper introduces the integration of trend, correlation, and robustness within the LSTM units. A predictive unit named TCRcell is devised, which enhances the feature extraction capability of the prediction model. Additionally, a corrective unit within TCRcell is constructed, predominantly centered around discrete Fourier transform (DFT) and discrete wavelet transform (DWT) as frequency domain feature extraction techniques. This incorporation introduces the physical mechanism information into DRTCR and refines the predictive outcomes of TCRcell. The global frequency perspective of DFT aids in capturing the overall trend in signal variations, while DWT precisely captures localized temporal details in the time series, resulting in a dynamically corrected TCRcell prediction outcome that combines both global trends and local intricacies. Finally, experimental validation was conducted to assess the predictive performance and robustness of DRTCR.