IDEA Springboot Mybatis

git网址连接

1 mysql 数据库, 插入数据id=1, version="hello"; 


2  配置数据库为application.properties;DBConfig; pom.xml; 

    配置调用顺序,从后向前配置 db.model,db.dao,db.mapper,service controller;


3 启动后运行结果


猜你喜欢

转载自blog.csdn.net/qq_28197211/article/details/80478932