mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
optimize: 将 buildAnnotations 方法中,拼接注解时的前导制表符替换为四个空格,与模板统一格式
This commit is contained in:
parent
37d65a6043
commit
b718a410eb
@ -276,7 +276,7 @@ public class Column {
|
||||
}
|
||||
|
||||
if (entityConfig != null && entityConfig.isAlwaysGenColumnAnnotation()) {
|
||||
annotations.append("\n\t");
|
||||
annotations.append("\n ");
|
||||
}
|
||||
}
|
||||
|
||||
@ -370,7 +370,7 @@ public class Column {
|
||||
String maskType = columnConfig.getMaskType();
|
||||
if (maskType != null) {
|
||||
if (annotations.length() != 0) {
|
||||
annotations.append("\n\t");
|
||||
annotations.append("\n ");
|
||||
}
|
||||
annotations.append("@ColumnMask(");
|
||||
if (MaskManager.getProcessorMap().containsKey(maskType)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user