This depends on the interest rate of the bank loan you are applying for.
A bank loan of 300,000 yuan in 2017. Assuming that the minimum loan interest rate is 3.85, the one-year loan interest is 11,550 yuan. So if you take out a loan from 2017 and repay it in 2022, it will last for 5 years. If calculated based on the interest rate of 3.85, you will have to pay 57,750 yuan in interest in 2022.