mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-21 14:57:09 +08:00
refactor: 移除所有的 @Accessors(chain = true),并全局配置禁止使用
This commit is contained in:
@@ -134,7 +134,8 @@ public class GeneratorServiceImpl implements GeneratorService {
|
||||
if (null != fieldConfig) {
|
||||
// 更新已有字段配置
|
||||
String columnType = StrUtil.splitToArray(column.getTypeName(), StringConsts.SPACE)[0].toLowerCase();
|
||||
fieldConfig.setColumnType(columnType).setComment(column.getComment());
|
||||
fieldConfig.setColumnType(columnType);
|
||||
fieldConfig.setComment(column.getComment());
|
||||
} else {
|
||||
// 新增字段配置
|
||||
fieldConfig = new FieldConfigDO(column);
|
||||
|
Reference in New Issue
Block a user