- JDK 1.8
- Spring Boot 2.0.6.RELEASE
- mybatis-plus-boot-starter 2.3
We need to encapsulate a general method that can be queried according to the list of objects, so we write the following method
Note: this class inherits IServiceImpl
about custom global injection, how to operate wrapper as a parameter. , but in a different way, we don"t define interfaces in BaseDao
at all.