Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
8eb9739e
Commit
8eb9739e
authored
Jan 31, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提供角色类表接口
parent
cac00779
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
46 deletions
+6
-46
application-dev.yml
...ifu-permission-biz/src/main/resources/application-dev.yml
+0
-14
application-prd.yml
...ifu-permission-biz/src/main/resources/application-prd.yml
+0
-13
application-test.yml
...fu-permission-biz/src/main/resources/application-test.yml
+0
-12
application.yml
...on/yifu-permission-biz/src/main/resources/application.yml
+0
-1
SysRoleInfoMapper.xml
...ssion-biz/src/main/resources/mapper/SysRoleInfoMapper.xml
+2
-2
HcmRoleInfoVo.java
...m/yifu.cloud.plus.v1/yifu/admin/api/vo/HcmRoleInfoVo.java
+2
-2
SysRoleMapper.xml
...yifu-upms-biz/src/main/resources/mapper/SysRoleMapper.xml
+2
-2
No files found.
yifu-permission/yifu-permission-biz/src/main/resources/application-dev.yml
View file @
8eb9739e
...
...
@@ -8,7 +8,6 @@ spring:
on-profile
:
dev
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
...
@@ -25,16 +24,3 @@ spring:
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security
:
oauth2
:
resource
:
loadBalanced
:
true
token-info-uri
:
http://127.0.0.1:3000/oauth/check_token
# 直接放行URL
ignore
:
urls
:
-
/v3/api-docs
-
/actuator/**
-
/swagger-ui/**
-
/msg/**
\ No newline at end of file
yifu-permission/yifu-permission-biz/src/main/resources/application-prd.yml
View file @
8eb9739e
...
...
@@ -26,16 +26,3 @@ spring:
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security
:
oauth2
:
resource
:
loadBalanced
:
true
token-info-uri
:
http://127.0.0.1:3000/oauth/check_token
# 直接放行URL
ignore
:
urls
:
-
/v3/api-docs
-
/actuator/**
-
/swagger-ui/**
-
/msg/**
\ No newline at end of file
yifu-permission/yifu-permission-biz/src/main/resources/application-test.yml
View file @
8eb9739e
...
...
@@ -26,15 +26,3 @@ spring:
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security
:
oauth2
:
resource
:
loadBalanced
:
true
token-info-uri
:
http://127.0.0.1:3000/oauth/check_token
# 直接放行URL
ignore
:
urls
:
-
/v3/api-docs
-
/actuator/**
-
/swagger-ui/**
\ No newline at end of file
yifu-permission/yifu-permission-biz/src/main/resources/application.yml
View file @
8eb9739e
...
...
@@ -41,7 +41,6 @@ security:
-
/swagger-ui/**
-
/sysroleinfo/getEkpRoleList
spring
:
application
:
name
:
@
artifactId@
...
...
yifu-permission/yifu-permission-biz/src/main/resources/mapper/SysRoleInfoMapper.xml
View file @
8eb9739e
...
...
@@ -39,8 +39,8 @@
<resultMap
id=
"HcmRoleMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.vo.HcmRoleInfoVo"
>
<result
column=
"fd_id"
property=
"role
_i
d"
/>
<result
column=
"role_name"
property=
"role
_n
ame"
/>
<result
column=
"fd_id"
property=
"role
I
d"
/>
<result
column=
"role_name"
property=
"role
N
ame"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.fd_id,
...
...
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/vo/HcmRoleInfoVo.java
View file @
8eb9739e
...
...
@@ -11,8 +11,8 @@ public class HcmRoleInfoVo implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"角色编号"
)
private
Long
role
_i
d
;
private
Long
role
I
d
;
@Schema
(
description
=
"角色名称"
)
private
String
role
_n
ame
;
private
String
role
N
ame
;
}
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysRoleMapper.xml
View file @
8eb9739e
...
...
@@ -32,8 +32,8 @@
</resultMap>
<resultMap
id=
"HcmRoleMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.vo.HcmRoleInfoVo"
>
<result
column=
"role_id"
property=
"role
_i
d"
/>
<result
column=
"role_name"
property=
"role
_n
ame"
/>
<result
column=
"role_id"
property=
"role
I
d"
/>
<result
column=
"role_name"
property=
"role
N
ame"
/>
</resultMap>
<!-- 通过用户ID,查询角色信息-->
...
...
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