整理 vm 模板

提交 test 生成的示例
This commit is contained in:
YunaiV
2021-02-06 23:52:26 +08:00
parent 2210ed5cf8
commit 5442f6522e
25 changed files with 412 additions and 246 deletions

View File

@ -24,7 +24,7 @@ public class ToolCodegenEngineTest {
@Test
public void testExecute() {
ToolCodegenTableDO table = codegenTableMapper.selectById(8);
ToolCodegenTableDO table = codegenTableMapper.selectById(10);
List<ToolCodegenColumnDO> columns = codegenColumnMapper.selectByTableId(table.getId());
codegenEngine.execute(table, columns);
}

View File

@ -16,7 +16,7 @@ class ToolCodegenServiceImplTest {
@Test
public void tetCreateCodegenTable() {
toolCodegenService.createCodegenTable("sys_dict_type");
toolCodegenService.createCodegenTable("sys_test_demo");
}
}