1. 实现集中式的附件统一管理,统一上传统一预览(代码生成器,公共组件,公共附件元数据定义)

2. 实现统一的 DB 字段数据库定义(代码生成器,共用规范检查)

(cherry picked from commit c2195ee3cf)
This commit is contained in:
chenbowen
2025-08-01 08:47:13 +08:00
committed by chenbowen
parent f9dc200d26
commit 014bd716de
63 changed files with 1674 additions and 351 deletions

View File

@@ -460,7 +460,9 @@ public class CodegenServiceImplTest extends BaseDbUnitTest {
assertEquals(column01, columns.get(0));
assertEquals(column02, columns.get(1));
return true;
}), isNull(), isNull(), eq(false))).thenReturn(codes);
}), isNull(), isNull(), argThat(extraParam -> {
return extraParam != null && Boolean.FALSE.equals(extraParam.get("isBusiness"));
}))).thenReturn(codes);
// 准备参数
Long tableId = table.getId();
@@ -509,7 +511,9 @@ public class CodegenServiceImplTest extends BaseDbUnitTest {
assertEquals(1, columns.size());
assertPojoEquals(subColumn01, columns.size());
return true;
}), eq(false))).thenReturn(codes);
}), argThat(extraParam -> {
return extraParam != null && Boolean.FALSE.equals(extraParam.get("isBusiness"));
}))).thenReturn(codes);
// 准备参数
Long tableId = table.getId();