增加往javaClient里写入@Mapper注解,便于Spring boot扫描。 使用方法是配置文件 context -> commentGenerator 里增加 property -> addMapperAnnotation,为true时写入注解。
Code generator for MyBatis and iBATIS.
It will generate code for all versions of MyBatis, and versions of iBATIS after version 2.2.0. It will introspect a database table (or many tables) and will generate artifacts that can be used to access the table(s). This lessens the initial nuisance of setting up objects and configuration files to interact with database tables. MBG seeks to make a major impact on the large percentage of database operations that are simple CRUD (Create, Retrieve, Update, Delete).
