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
d2987703
Commit
d2987703
authored
Aug 10, 2019
by
xiandafu
Browse files
update springboot 2.1.7 and beetl 2.1.10
parent
05da19e0
Changes
7
Hide whitespace changes
Inline
Side-by-side
admin-console/pom.xml
View file @
d2987703
...
@@ -6,14 +6,14 @@
...
@@ -6,14 +6,14 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
<version>
1.3.
1
</version>
<version>
1.3.
2
</version>
<relativePath>
../pom.xml
</relativePath>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-core
</artifactId>
<artifactId>
admin-core
</artifactId>
<version>
1.3.
1
</version>
<version>
1.3.
2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
admin-core/pom.xml
View file @
d2987703
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
<version>
1.3.
1
</version>
<version>
1.3.
2
</version>
<relativePath>
../pom.xml
</relativePath>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<properties>
<properties>
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
beetl-framework-starter
</artifactId>
<artifactId>
beetl-framework-starter
</artifactId>
<version>
1.2.
6
.RELEASE
</version>
<version>
1.2.
10
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
admin-core/src/main/java/com/ibeetl/admin/core/entity/CoreFunction.java
View file @
d2987703
...
@@ -32,7 +32,7 @@ public class CoreFunction extends BaseEntity {
...
@@ -32,7 +32,7 @@ public class CoreFunction extends BaseEntity {
private
Long
parentId
;
private
Long
parentId
;
@Dict
(
type
=
CoreDictType
.
FUNCTION_TYPE
)
@Dict
(
type
=
CoreDictType
.
FUNCTION_TYPE
)
@NotBlank
@NotBlank
private
String
type
=
"FN0"
;
private
String
type
=
null
;
//
"FN0" ;
public
String
getAccessUrl
(){
public
String
getAccessUrl
(){
...
...
admin-core/src/main/java/com/ibeetl/admin/core/gen/BaseTarget.java
View file @
d2987703
...
@@ -38,7 +38,7 @@ public abstract class BaseTarget implements Target {
...
@@ -38,7 +38,7 @@ public abstract class BaseTarget implements Target {
cfg
.
setStatementEnd
(
null
);
cfg
.
setStatementEnd
(
null
);
cfg
.
setHtmlTagSupport
(
false
);
cfg
.
setHtmlTagSupport
(
false
);
cfg
.
initOther
();
cfg
.
build
();
gt
=
new
GroupTemplate
(
rs
,
cfg
);
gt
=
new
GroupTemplate
(
rs
,
cfg
);
gt
.
registerFunction
(
"verifyFormat"
,
new
VerifyForamtFunction
());
gt
.
registerFunction
(
"verifyFormat"
,
new
VerifyForamtFunction
());
gt
.
registerFunction
(
"upperFirst"
,
new
Function
()
{
gt
.
registerFunction
(
"upperFirst"
,
new
Function
()
{
...
...
admin-core/src/main/java/com/ibeetl/admin/core/service/CorePlatformService.java
View file @
d2987703
...
@@ -260,18 +260,6 @@ public class CorePlatformService {
...
@@ -260,18 +260,6 @@ public class CorePlatformService {
return
true
;
return
true
;
}
}
String
str
=
functionCode
;
String
str
=
functionCode
;
// do {
// List<SysRoleFunction> list = sysRoleFunctionDao.getRoleFunction(userId, orgId, str);
// boolean canAccess = !list.isEmpty();
// if (canAccess) {
// return true;
// }
// int index = str.lastIndexOf('.');
// if (index == -1) {
// break;
// }
// str = str.substring(0, index);
// } while (true);
List
<
CoreRoleFunction
>
list
=
sysRoleFunctionDao
.
getRoleFunction
(
userId
,
orgId
,
str
);
List
<
CoreRoleFunction
>
list
=
sysRoleFunctionDao
.
getRoleFunction
(
userId
,
orgId
,
str
);
boolean
canAccess
=
!
list
.
isEmpty
();
boolean
canAccess
=
!
list
.
isEmpty
();
if
(
canAccess
)
{
if
(
canAccess
)
{
...
...
admin-core/src/main/resources/codeTemplate/maven/pomTemplate.xml
View file @
d2987703
...
@@ -13,19 +13,19 @@
...
@@ -13,19 +13,19 @@
<parent>
<parent>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.1.
5
.RELEASE
</version>
<version>
2.1.
7
.RELEASE
</version>
</parent>
</parent>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-core
</artifactId>
<artifactId>
admin-core
</artifactId>
<version>
1.3.
1
</version>
<version>
1.3.
2
</version>
</dependency>
</dependency>
<!-- admin-console 包含了系统管理管理的所有功能,子系统可以不使用这部分 -->
<!-- admin-console 包含了系统管理管理的所有功能,子系统可以不使用这部分 -->
<dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-console
</artifactId>
<artifactId>
admin-console
</artifactId>
<version>
1.3.
1
</version>
<version>
1.3.
2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
pom.xml
View file @
d2987703
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
<version>
1.3.
1
</version>
<version>
1.3.
2
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<properties>
<properties>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<parent>
<parent>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.1.
5
.RELEASE
</version>
<version>
2.1.
7
.RELEASE
</version>
</parent>
</parent>
<!-- Add typical dependencies for a web application -->
<!-- Add typical dependencies for a web application -->
<dependencies>
<dependencies>
...
...
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