optimize: 将 buildAnnotations 方法中,拼接注解时的前导制表符替换为四个空格,与模板统一格式

This commit is contained in:
cida 2024-04-16 17:30:33 +08:00
parent 37d65a6043
commit b718a410eb

View File

@ -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)) {