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
ed61ea1c
Commit
ed61ea1c
authored
Sep 08, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单权限修改
parent
f46a35d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
SysUserPermission.java
...oud/plus/v1/yifu/permission/entity/SysUserPermission.java
+6
-0
SysUserPermissionVo.java
...cloud/plus/v1/yifu/permission/vo/SysUserPermissionVo.java
+8
-0
SysUserPermissionServiceImpl.java
...permission/service/impl/SysUserPermissionServiceImpl.java
+1
-0
No files found.
yifu-permission/yifu-permission-api/src/main/java/com/yifu/cloud/plus/v1/yifu/permission/entity/SysUserPermission.java
View file @
ed61ea1c
...
@@ -39,6 +39,12 @@ public class SysUserPermission extends BaseEntity {
...
@@ -39,6 +39,12 @@ public class SysUserPermission extends BaseEntity {
@Schema
(
description
=
"登录账号"
)
@Schema
(
description
=
"登录账号"
)
private
String
empLoginName
;
private
String
empLoginName
;
/**
* 用户id
*/
@Schema
(
description
=
"用户id"
)
private
String
userId
;
/**
/**
* 所在部门
* 所在部门
*/
*/
...
...
yifu-permission/yifu-permission-api/src/main/java/com/yifu/cloud/plus/v1/yifu/permission/vo/SysUserPermissionVo.java
View file @
ed61ea1c
...
@@ -36,6 +36,14 @@ public class SysUserPermissionVo extends RowIndex implements Serializable {
...
@@ -36,6 +36,14 @@ public class SysUserPermissionVo extends RowIndex implements Serializable {
@Schema
(
description
=
"登录账号"
)
@Schema
(
description
=
"登录账号"
)
@ExcelProperty
(
"登录账号"
)
@ExcelProperty
(
"登录账号"
)
private
String
empLoginName
;
private
String
empLoginName
;
/**
* 用户id
*/
@Schema
(
description
=
"用户id"
)
@ExcelAttribute
(
name
=
"用户id"
,
isExport
=
false
)
private
String
userId
;
/**
/**
* 所属部门
* 所属部门
*/
*/
...
...
yifu-permission/yifu-permission-biz/src/main/java/com/yifu/cloud/plus/v1/permission/service/impl/SysUserPermissionServiceImpl.java
View file @
ed61ea1c
...
@@ -273,6 +273,7 @@ public class SysUserPermissionServiceImpl extends ServiceImpl<SysUserPermissionM
...
@@ -273,6 +273,7 @@ public class SysUserPermissionServiceImpl extends ServiceImpl<SysUserPermissionM
SysUserInfo
sysUserInfo
=
userInfo
.
get
(
0
);
SysUserInfo
sysUserInfo
=
userInfo
.
get
(
0
);
excel
.
setEmpDept
(
sysUserInfo
.
getFdDeptName
());
excel
.
setEmpDept
(
sysUserInfo
.
getFdDeptName
());
excel
.
setEmpName
(
sysUserInfo
.
getFdName
());
excel
.
setEmpName
(
sysUserInfo
.
getFdName
());
excel
.
setUserId
(
sysUserInfo
.
getFdId
());
//判断表格权限类型是否正确
//判断表格权限类型是否正确
if
(
typeMap
.
isEmpty
())
{
if
(
typeMap
.
isEmpty
())
{
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"获取权限类型字典值异常"
,
excel
));
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"获取权限类型字典值异常"
,
excel
));
...
...
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