代码生成模块合并到框架包

This commit is contained in:
thinkgem
2018-05-03 22:40:20 +08:00
parent d0ee5873de
commit 4d44442e53
22 changed files with 4829 additions and 2802 deletions

View File

@@ -35,6 +35,8 @@ public class InitCoreData extends com.jeesite.modules.sys.db.InitCoreData {
initCompany();
initPost();
initEmpUser();
initGenTestData();
initGenTreeData();
}
}

View File

@@ -1,30 +0,0 @@
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
package com.jeesite.test;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.Rollback;
import org.springframework.test.context.ActiveProfiles;
import com.jeesite.modules.config.Application;
/**
* 初始化代码生成表测试数据
* @author ThinkGem
* @version 2017-10-22
*/
@ActiveProfiles("test")
@SpringBootTest(classes=Application.class)
@Rollback(false)
public class InitGenData extends com.jeesite.modules.gen.db.InitGenData {
@Test
public void initGenData() throws Exception{
createGenTable();
initGenTestData();
initGenTreeData();
}
}