1, a custom sql injector, GeneralMybatisPlusSqlInjector.
2. the implementation class UpdateAllColumnById corresponding to this method.
Refer to the source code of other basic methods, such as: UpdateById and so on.
3.MybatisPlus custom SQL method enumeration class GeneralMybatisPlusSqlMethod
4.MybatisPlus configures the class and loads the customized sql injector.
5. Custom basemap inherits the basemap.
6. Customize the basic service to inherit IService and its implementation class.
Implementation class
Then all mappers and services inherit the basic mappers and services of our custom extension.
Ok, let's start the test, refer to the original Springbok Cheat VII. Put mybatisplus into actual combat.