A novel approach for predicting remaining useful life (RUL) is proposed for situations where maintenance threshold and failure threshold exhibit dynamic behavior due to uncertainties in degradation and the influence of detection strategies during maintenance processes. The approach introduces maintenance threshold error to establish a multi-stage maintenance-impact degradation model with dynamic maintenance threshold based on the Wiener process. This model considers the impact of maintenance on degradation rate, amount, and path. Moreover, by using the first hitting time (FHT) and introducing failure threshold error to reflect the dynamic behavior of the failure threshold, the formula for predicting equipment RUL is derived. The model parameters are estimated using both the maximum likelihood estimation (MLE) approach and Bayesian formula. The proposed approach was validated with simulation data and gyroscope degradation data, and the results demonstrate its ability to effectively enhance the precision of equipment RUL prediction.