Commit ba7604ad authored by xiandafu's avatar xiandafu
Browse files

代码生成完善

parent 1ddd975a
......@@ -41,11 +41,10 @@
</dependency>
<dependency>
<groupId>com.ibeetl</groupId>
<artifactId>beetl-framework-starter</artifactId>
<version>1.1.55.RELEASE</version>
<version>1.1.59.RELEASE</version>
</dependency>
<dependency>
......
......@@ -171,13 +171,13 @@ public class CoreCodeGenService {
CoreFunction delFunction = new CoreFunction();
String delFunctionCode = functionCode+".add";
String delFunctionCode = functionCode+".delete";
delFunction.setName("删除"+data.getDisplayName());
delFunction.setCode(delFunctionCode);
delFunction.setCreateTime(new Date());
delFunction.setParentId(parentId);
delFunction.setType("FN0");
sqlManager.insert(addFunction,true);
sqlManager.insert(delFunction,true);
//刷新缓存
platformService.clearFunctionCache();
......@@ -197,7 +197,7 @@ public class CoreCodeGenService {
Long parentId = menu.getId();
CoreMenu newMenu = new CoreMenu();
newMenu.setCode(data.getName()+".Manager");
newMenu.setName(data.getName()+"管理");
newMenu.setName(data.getDisplayName()+"管理");
newMenu.setParentMenuId(parentId);
newMenu.setFunctionId(functionId);
newMenu.setType("MENU_M");
......
......@@ -9,7 +9,7 @@
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<plus.version>1.1.4</plus.version>
<plus.version>1.1.5</plus.version>
</properties>
<modules>
<module>admin-core</module>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment