mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 13:19:01 +08:00
🎨 Improving structure / format of the code. 格式化代码
This commit is contained in:
1 parent
3fa14e1a6f
commit
1f6f73848c
1 file changed
+2
-5
+2
-5
@@ -217,8 +217,8 @@ public class GeneratorServiceImpl implements GeneratorService {
|
||||
// 获取字段列表
|
||||
List<GenTableColumnEntity> fieldList = columnService.lambdaQuery()
|
||||
.eq(GenTableColumnEntity::getDsName, table.getDsName())
|
||||
.eq(GenTableColumnEntity::getTableName, table.getTableName())
|
||||
.orderByAsc(GenTableColumnEntity::getSort).list();
|
||||
.eq(GenTableColumnEntity::getTableName, table.getTableName()).orderByAsc(GenTableColumnEntity::getSort)
|
||||
.list();
|
||||
table.setFieldList(fieldList);
|
||||
|
||||
// 创建数据模型对象
|
||||
@@ -250,9 +250,6 @@ public class GeneratorServiceImpl implements GeneratorService {
|
||||
dataModel.put("fieldList", table.getFieldList());
|
||||
dataModel.put("backendPath", table.getBackendPath());
|
||||
dataModel.put("frontendPath", table.getFrontendPath());
|
||||
dataModel.put("vAuthName", table.getClassName().toLowerCase());
|
||||
dataModel.put("i18nName", StrUtil.lowerFirst(table.getClassName()));
|
||||
|
||||
return dataModel;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user