Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄营
datax-cloud
Commits
68b9c9f7
Commit
68b9c9f7
authored
Jan 21, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目初始化
parent
58db346b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
+12
-1
RoleEntity.java
...n/java/cn/datax/service/system/api/entity/RoleEntity.java
+1
-1
RoleDao.java
...ce/src/main/java/cn/datax/service/system/dao/RoleDao.java
+4
-0
RoleMapper.xml
...t/system-service/src/main/resources/mapper/RoleMapper.xml
+7
-0
No files found.
datax-modules/system-service-parent/system-service-api/src/main/java/cn/datax/service/system/api/entity/RoleEntity.java
View file @
68b9c9f7
...
@@ -20,7 +20,7 @@ import java.util.List;
...
@@ -20,7 +20,7 @@ import java.util.List;
@Data
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
value
=
"sys_role"
,
resultMap
=
"BaseResultMap
"
)
@TableName
(
"sys_role
"
)
public
class
RoleEntity
extends
BaseEntity
{
public
class
RoleEntity
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
datax-modules/system-service-parent/system-service/src/main/java/cn/datax/service/system/dao/RoleDao.java
View file @
68b9c9f7
...
@@ -4,6 +4,8 @@ import cn.datax.common.base.BaseDao;
...
@@ -4,6 +4,8 @@ import cn.datax.common.base.BaseDao;
import
cn.datax.service.system.api.entity.RoleEntity
;
import
cn.datax.service.system.api.entity.RoleEntity
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.io.Serializable
;
/**
/**
* <p>
* <p>
* Mapper 接口
* Mapper 接口
...
@@ -15,4 +17,6 @@ import org.apache.ibatis.annotations.Mapper;
...
@@ -15,4 +17,6 @@ import org.apache.ibatis.annotations.Mapper;
@Mapper
@Mapper
public
interface
RoleDao
extends
BaseDao
<
RoleEntity
>
{
public
interface
RoleDao
extends
BaseDao
<
RoleEntity
>
{
@Override
RoleEntity
selectById
(
Serializable
id
);
}
}
datax-modules/system-service-parent/system-service/src/main/resources/mapper/RoleMapper.xml
View file @
68b9c9f7
...
@@ -62,4 +62,11 @@
...
@@ -62,4 +62,11 @@
</if>
</if>
</select>
</select>
<select
id=
"selectById"
resultMap=
"BaseResultMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_role
WHERE 1 = 1 AND id = #{id}
</select>
</mapper>
</mapper>
Write
Preview
Markdown
is supported
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