This paper analyzes enterprise investment capability based on quantitative analysis under data mining technology and selects cash flow as the key indicator of enterprise investment to make a predictive analysis of enterprise cash flow. The system of enterprise investment capacity indicators is constructed, and the relationship between cash flow and each quantitative is analyzed by the regression model. The case analysis of the enterprise financing structure and the risk of bank financial indicators were conducted separately, and the results showed that the financing structure of enterprise A was dominated by long-term borrowing, which accounted for more than 60% every year, followed by bonds payable, which accounted for between 10% and 30% every year. The return on assets of Bank A is between 15% and 20%, much higher than the other two banks.