SpringBoot+MyBatis创建方法
https://www.cnblogs.com/peterxiao/p/7779188.html
MyBatis框架配置
https://blog.csdn.net/Winter_chen001/article/details/80010967
Field userDao in com.example.demo.service.impl.UserServiceImpl required a bean of type ‘com.example.
https://blog.csdn.net/Julycaka/article/details/80622754
NamedParameterJdbcTemplate常用方法总结
https://blog.csdn.net/u011179993/article/details/74791304
https://blog.csdn.net/qq_16127313/article/details/84936770
spring.datasource.url=jdbc:mysql://192.168.1.223:3306/pwtp?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
spring.datasource.username=root
spring.datasource.password=youotech
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>demo</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
</properties>
原文:https://www.cnblogs.com/gigi2653/p/10635825.html