当前位置:Gxlcms > 数据库问题 > MyBatis学习6-第一个sql映射findUserById

MyBatis学习6-第一个sql映射findUserById

时间:2021-07-01 10:21:17 帮助过:15人阅读

现在我们通过mybatis开始实现第一个sql查询findUserById:

1.填加映射文件User.xml

   技术分享

2.在mysql-front中测试一下sql语句:

技术分享

3.开始编写User.xml

   技术分享

人气教程排行