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
9ae7178e
Commit
9ae7178e
authored
Jun 10, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户ID 转String
parent
6d508f71
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
YifuUser.java
....cloud.plus.v1/yifu/common/security/service/YifuUser.java
+2
-2
SysUser.java
...com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysUser.java
+1
-1
SysUserPost.java
...yifu.cloud.plus.v1/yifu/admin/api/entity/SysUserPost.java
+1
-1
SysUserRole.java
...yifu.cloud.plus.v1/yifu/admin/api/entity/SysUserRole.java
+1
-1
UserVO.java
...java/com/yifu.cloud.plus.v1/yifu/admin/api/vo/UserVO.java
+1
-1
SysPostMapper.java
...m/yifu.cloud.plus.v1/yifu/admin/mapper/SysPostMapper.java
+1
-1
SysRoleMapper.java
...m/yifu.cloud.plus.v1/yifu/admin/mapper/SysRoleMapper.java
+1
-1
SysUserRoleMapper.java
...fu.cloud.plus.v1/yifu/admin/mapper/SysUserRoleMapper.java
+1
-1
No files found.
yifu-common/yifu-common-security/src/main/java/com/yifu.cloud.plus.v1/yifu/common/security/service/YifuUser.java
View file @
9ae7178e
...
...
@@ -32,7 +32,7 @@ public class YifuUser extends User {
* 用户ID
*/
@Getter
private
final
Lo
ng
id
;
private
final
Stri
ng
id
;
/**
* 部门ID
...
...
@@ -46,7 +46,7 @@ public class YifuUser extends User {
@Getter
private
final
String
phone
;
public
YifuUser
(
Lo
ng
id
,
Long
deptId
,
String
username
,
String
password
,
String
phone
,
boolean
enabled
,
public
YifuUser
(
Stri
ng
id
,
Long
deptId
,
String
username
,
String
password
,
String
phone
,
boolean
enabled
,
boolean
accountNonExpired
,
boolean
credentialsNonExpired
,
boolean
accountNonLocked
,
Collection
<?
extends
GrantedAuthority
>
authorities
)
{
super
(
username
,
password
,
enabled
,
accountNonExpired
,
credentialsNonExpired
,
accountNonLocked
,
authorities
);
...
...
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysUser.java
View file @
9ae7178e
...
...
@@ -46,7 +46,7 @@ public class SysUser extends BaseEntity {
*/
@TableId
(
value
=
"user_id"
,
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键id"
)
private
Lo
ng
userId
;
private
Stri
ng
userId
;
/**
* 用户名 登录名称
...
...
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysUserPost.java
View file @
9ae7178e
...
...
@@ -38,7 +38,7 @@ public class SysUserPost extends Model<SysUserPost> {
* 用户ID
*/
@Schema
(
description
=
"用户id"
)
private
Lo
ng
userId
;
private
Stri
ng
userId
;
/**
* 岗位ID
...
...
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysUserRole.java
View file @
9ae7178e
...
...
@@ -39,7 +39,7 @@ public class SysUserRole extends Model<SysUserRole> {
* 用户ID
*/
@Schema
(
description
=
"用户id"
)
private
Lo
ng
userId
;
private
Stri
ng
userId
;
/**
* 角色ID
...
...
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/vo/UserVO.java
View file @
9ae7178e
...
...
@@ -36,7 +36,7 @@ public class UserVO implements Serializable {
/**
* 主键ID
*/
private
Lo
ng
userId
;
private
Stri
ng
userId
;
/**
* 用户名
...
...
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/mapper/SysPostMapper.java
View file @
9ae7178e
...
...
@@ -37,6 +37,6 @@ public interface SysPostMapper extends BaseMapper<SysPost> {
* @param userId 用户id
* @return 岗位信息
*/
List
<
SysPost
>
listPostsByUserId
(
Lo
ng
userId
);
List
<
SysPost
>
listPostsByUserId
(
Stri
ng
userId
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/mapper/SysRoleMapper.java
View file @
9ae7178e
...
...
@@ -38,6 +38,6 @@ public interface SysRoleMapper extends BaseMapper<SysRole> {
* @param userId
* @return
*/
List
<
SysRole
>
listRolesByUserId
(
Lo
ng
userId
);
List
<
SysRole
>
listRolesByUserId
(
Stri
ng
userId
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/mapper/SysUserRoleMapper.java
View file @
9ae7178e
...
...
@@ -39,6 +39,6 @@ public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
* @author 寻欢·李
* @date 2017年12月7日 16:31:38
*/
Boolean
deleteByUserId
(
@Param
(
"userId"
)
Lo
ng
userId
);
Boolean
deleteByUserId
(
@Param
(
"userId"
)
Stri
ng
userId
);
}
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