Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
ba7604ad
Commit
ba7604ad
authored
Aug 01, 2018
by
xiandafu
Browse files
代码生成完善
parent
1ddd975a
Changes
3
Show whitespace changes
Inline
Side-by-side
admin-core/pom.xml
View file @
ba7604ad
...
...
@@ -41,11 +41,10 @@
</dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<artifactId>
beetl-framework-starter
</artifactId>
<version>
1.1.5
5
.RELEASE
</version>
<version>
1.1.5
9
.RELEASE
</version>
</dependency>
<dependency>
...
...
admin-core/src/main/java/com/ibeetl/admin/core/service/CoreCodeGenService.java
View file @
ba7604ad
...
...
@@ -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
(
add
Function
,
true
);
sqlManager
.
insert
(
del
Function
,
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
.
get
Display
Name
()+
"管理"
);
newMenu
.
setParentMenuId
(
parentId
);
newMenu
.
setFunctionId
(
functionId
);
newMenu
.
setType
(
"MENU_M"
);
...
...
pom.xml
View file @
ba7604ad
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment