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
869294e5
Commit
869294e5
authored
May 03, 2018
by
xiandafu
Browse files
1.1.3
parent
24a83d9b
Changes
10
Show whitespace changes
Inline
Side-by-side
admin-cloud/admin-cloud-eureka-server/pom.xml
View file @
869294e5
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-cloud
</artifactId>
<artifactId>
admin-cloud
</artifactId>
<version>
1.1.2
</version>
<version>
1.1.3
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<artifactId>
admin-cloud-eureka-server
</artifactId>
<artifactId>
admin-cloud-eureka-server
</artifactId>
<name>
admin-cloud-eureka-server
</name>
<name>
admin-cloud-eureka-server
</name>
...
...
admin-cloud/pom.xml
View file @
869294e5
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
<version>
1.1.2
</version>
<version>
1.1.3
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
<artifactId>
admin-cloud
</artifactId>
<artifactId>
admin-cloud
</artifactId>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
...
...
admin-console/pom.xml
View file @
869294e5
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-cloud
</artifactId>
<artifactId>
admin-cloud
</artifactId>
<version>
1.1.2
</version>
<version>
1.1.3
</version>
<relativePath>
../admin-cloud/pom.xml
</relativePath>
</parent>
</parent>
<dependencies>
<dependencies>
<dependency>
<dependency>
...
...
admin-core/pom.xml
View file @
869294e5
...
@@ -96,7 +96,8 @@
...
@@ -96,7 +96,8 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
<version>
1.1.2
</version>
<version>
1.1.3
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
</parent>
...
...
admin-core/src/main/java/com/ibeetl/admin/core/service/CoreCodeGenService.java
View file @
869294e5
...
@@ -5,6 +5,7 @@ import java.util.Date;
...
@@ -5,6 +5,7 @@ import java.util.Date;
import
java.util.List
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.Set
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.beetl.sql.core.JavaType
;
import
org.beetl.sql.core.JavaType
;
...
@@ -218,7 +219,7 @@ public class CoreCodeGenService {
...
@@ -218,7 +219,7 @@ public class CoreCodeGenService {
/*根据数据库注释来判断显示名称*/
/*根据数据库注释来判断显示名称*/
private
void
setGetDisplayName
(
Attribute
attr
)
{
private
void
setGetDisplayName
(
Attribute
attr
)
{
String
comment
=
attr
.
getComment
();
String
comment
=
attr
.
getComment
();
if
(
comment
==
null
)
{
if
(
StringUtils
.
isEmpty
(
comment
)
)
{
attr
.
setDisplayName
(
attr
.
getName
());
attr
.
setDisplayName
(
attr
.
getName
());
return
;
return
;
}
}
...
...
admin-core/src/main/java/com/ibeetl/admin/core/web/CoreCodeGenController.java
View file @
869294e5
...
@@ -289,6 +289,7 @@ public class CoreCodeGenController {
...
@@ -289,6 +289,7 @@ public class CoreCodeGenController {
content
.
put
(
gen
.
getName
(),
code
);
content
.
put
(
gen
.
getName
(),
code
);
}
}
return
JsonResult
.
success
(
content
);
return
JsonResult
.
success
(
content
);
}
}
...
...
admin-core/src/main/resources/codeTemplate/maven/pomTemplate.xml
View file @
869294e5
...
@@ -12,19 +12,19 @@
...
@@ -12,19 +12,19 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-cloud
</artifactId>
<artifactId>
admin-cloud
</artifactId>
<version>
1.1.
2
</version>
<version>
1.1.
3
</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.1.
2
</version>
<version>
1.1.
3
</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.1.
2
</version>
<version>
1.1.
3
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
admin-core/src/main/resources/codeTemplate/md/entity.md
View file @
869294e5
...
@@ -9,7 +9,7 @@ queryByCondition
...
@@ -9,7 +9,7 @@ queryByCondition
from ${entity.tableName} t
from ${entity.tableName} t
where del_flag=0
where del_flag=0
\@//数据权限,该sql语句功能点
\@//数据权限,该sql语句功能点
#function("${entity.code}.query")#
and
#function("${entity.code}.query")#
@for(attr in entity.list){
@for(attr in entity.list){
@if(attr.showInQuery){
@if(attr.showInQuery){
\@if(!isEmpty(${attr.name})){
\@if(!isEmpty(${attr.name})){
...
...
admin-workflow/pom.xml
View file @
869294e5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-workflow
</artifactId>
<artifactId>
admin-workflow
</artifactId>
<version>
1.1.
1
</version>
<version>
1.1.
3
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
workflow
</name>
<name>
workflow
</name>
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-cloud
</artifactId>
<artifactId>
admin-cloud
</artifactId>
<version>
1.1.2
</version>
<version>
1.1.3
</version>
<relativePath>
../admin-cloud/pom.xml
</relativePath>
</parent>
</parent>
<dependencies>
<dependencies>
<dependency>
<dependency>
...
...
pom.xml
View file @
869294e5
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,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.1.
2
</version>
<version>
1.1.
3
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<properties>
<properties>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
...
...
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