Commit d2987703 authored by xiandafu's avatar xiandafu
Browse files

update springboot 2.1.7 and beetl 2.1.10

parent 05da19e0
...@@ -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>
......
...@@ -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>
......
...@@ -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(){
......
...@@ -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() {
......
...@@ -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) {
......
...@@ -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>
......
...@@ -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>
......
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