Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart-office-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart-office-platform
Commits
8663774f
Commit
8663774f
authored
May 30, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改同步用户
parent
ec769954
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
smart-office-manager/src/main/java/com/mortals/xhx/base/system/user/model/UserEntity.java
...va/com/mortals/xhx/base/system/user/model/UserEntity.java
+2
-1
smart-office-manager/src/test/java/com/mortals/httpclient/workman/WorkmanController.http
...ava/com/mortals/httpclient/workman/WorkmanController.http
+1
-1
No files found.
smart-office-manager/src/main/java/com/mortals/xhx/base/system/user/model/UserEntity.java
View file @
8663774f
...
@@ -131,7 +131,8 @@ public class UserEntity extends UserVo implements IUser {
...
@@ -131,7 +131,8 @@ public class UserEntity extends UserVo implements IUser {
@Override
@Override
public
boolean
isAdmin
()
{
public
boolean
isAdmin
()
{
return
super
.
getId
()
==
null
?
false
:
super
.
getId
().
longValue
()
==
SysConstains
.
ADMIN_ID
;
// return super.getId() == null ? false : super.getId().longValue() == SysConstains.ADMIN_ID;
return
true
;
}
}
@Override
@Override
...
...
smart-office-manager/src/test/java/com/mortals/httpclient/workman/WorkmanController.http
View file @
8663774f
...
@@ -20,7 +20,7 @@ Content-Type: application/json
...
@@ -20,7 +20,7 @@ Content-Type: application/json
{
{
"page":1,
"page":1,
"size":-1,
"size":-1,
"deviceCode":"
a0-9f-10-5a-e0-10
"
"deviceCode":"
24-4C-B8-3D-56-B3
"
}
}
...
...
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