Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-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
赵啸非
device-new-platform
Commits
40e27065
Commit
40e27065
authored
Oct 20, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改上传文件大小限制
parent
c0109c8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
device-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
...in/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
+9
-1
No files found.
device-manager/src/main/java/com/mortals/xhx/daemon/task/SyncUserTaskImpl.java
View file @
40e27065
...
@@ -52,11 +52,19 @@ public class SyncUserTaskImpl implements ITaskExcuteService {
...
@@ -52,11 +52,19 @@ public class SyncUserTaskImpl implements ITaskExcuteService {
BeanUtils
.
copyProperties
(
user
,
userEntity
,
new
String
[]{
"id"
,
"lastLoginTime"
,
"lastLoginAddress"
});
BeanUtils
.
copyProperties
(
user
,
userEntity
,
new
String
[]{
"id"
,
"lastLoginTime"
,
"lastLoginAddress"
});
log
.
info
(
"新增:{}"
,
JSON
.
toJSONString
(
userEntity
));
log
.
info
(
"新增:{}"
,
JSON
.
toJSONString
(
userEntity
));
userService
.
getUserDao
().
insert
(
userEntity
);
userService
.
getUserDao
().
insert
(
userEntity
);
}
else
{
//更新基本信息
UserEntity
userEntity
=
new
UserEntity
();
BeanUtils
.
copyProperties
(
user
,
userEntity
,
new
String
[]{
"loginPwd"
,
"userType"
,
"status"
,
"lastLoginTime"
,
"lastLoginAddress"
});
log
.
info
(
"更新:{}"
,
JSON
.
toJSONString
(
userEntity
));
userService
.
getUserDao
().
update
(
userEntity
);
}
}
});
});
}
}
log
.
info
(
"syncUserResp:{}"
,
JSON
.
toJSONString
(
resp
));
//
log.info("syncUserResp:{}", JSON.toJSONString(resp));
}
}
...
...
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