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
b13f4fed
Commit
b13f4fed
authored
Jun 07, 2019
by
xiandafu
Browse files
1.3.0
parent
002173af
Changes
26
Hide whitespace changes
Inline
Side-by-side
admin-core/src/main/java/com/ibeetl/admin/core/service/CoreRoleService.java
View file @
b13f4fed
...
@@ -10,8 +10,6 @@ import org.springframework.transaction.annotation.Transactional;
...
@@ -10,8 +10,6 @@ import org.springframework.transaction.annotation.Transactional;
import
com.ibeetl.admin.core.dao.CoreRoleDao
;
import
com.ibeetl.admin.core.dao.CoreRoleDao
;
import
com.ibeetl.admin.core.entity.CoreRole
;
import
com.ibeetl.admin.core.entity.CoreRole
;
import
com.ibeetl.admin.core.util.enums.DelFlagEnum
;
import
com.ibeetl.admin.core.util.enums.RoleTypeEnum
;
/**
/**
* 描述: 字典 service,包含常规字典和级联字典的操作。
* 描述: 字典 service,包含常规字典和级联字典的操作。
...
@@ -19,7 +17,7 @@ import com.ibeetl.admin.core.util.enums.RoleTypeEnum;
...
@@ -19,7 +17,7 @@ import com.ibeetl.admin.core.util.enums.RoleTypeEnum;
*/
*/
@Service
@Service
@Transactional
@Transactional
public
class
CoreRoleService
extends
BaseService
<
CoreRole
>
{
public
class
CoreRoleService
extends
Core
BaseService
<
CoreRole
>
{
private
static
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
CoreRoleService
.
class
);
private
static
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
CoreRoleService
.
class
);
...
...
admin-core/src/main/resources/codeTemplate/java/service.java
View file @
b13f4fed
package
${
package
};
package
${
package
};
import
java.util.List
;
import
org.beetl.sql.core.engine.PageQuery
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.ibeetl.admin.core.util.PlatformException
;
{
basePackage
}.
dao
.
$
{
entity
.
name
}
Dao
;
import
${
basePackage
}.
dao
.
$
{
entity
.
name
}
Dao
;
import
${
basePackage
}.
entity
.
$
{
entity
.
name
};
import
${
basePackage
}.
entity
.
$
{
entity
.
name
};
import
com.ibeetl.admin.core.service.BaseService
;
/**
/**
* ${entity.displayName} Service
* ${entity.displayName} Service
...
...
admin-core/src/main/resources/codeTemplate/maven/pomTemplate.xml
View file @
b13f4fed
...
@@ -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.
0
.RELEASE
</version>
<version>
2.1.
5
.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.
2.1
</version>
<version>
1.
3.0
</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.
2.1
</version>
<version>
1.
3.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
doc/readme/core.png
0 → 100644
View file @
b13f4fed
78.9 KB
doc/readme/design.png
0 → 100644
View file @
b13f4fed
113 KB
pom.xml
View file @
b13f4fed
...
@@ -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.
0
.RELEASE
</version>
<version>
2.1.
5
.RELEASE
</version>
</parent>
</parent>
<!-- Add typical dependencies for a web application -->
<!-- Add typical dependencies for a web application -->
<dependencies>
<dependencies>
...
...
Prev
1
2
Next
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