mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
style: 添加 MapperConfig 方法注释。
This commit is contained in:
parent
252f0001af
commit
bbea7f433d
@ -119,10 +119,16 @@ public class MapperConfig {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否添加 {@code @Mapper} 注解。
|
||||||
|
*/
|
||||||
public boolean isMapperAnnotation() {
|
public boolean isMapperAnnotation() {
|
||||||
return mapperAnnotation;
|
return mapperAnnotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置是否添加 {@code @Mapper} 注解。
|
||||||
|
*/
|
||||||
public MapperConfig setMapperAnnotation(boolean mapperAnnotation) {
|
public MapperConfig setMapperAnnotation(boolean mapperAnnotation) {
|
||||||
this.mapperAnnotation = mapperAnnotation;
|
this.mapperAnnotation = mapperAnnotation;
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user