Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_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_gov_platform
Commits
07b53e1a
Commit
07b53e1a
authored
Dec 02, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改版本
parent
6246dc14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
base-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DemoStartedService.java
...als/xhx/daemon/applicationservice/DemoStartedService.java
+9
-1
No files found.
base-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DemoStartedService.java
View file @
07b53e1a
...
@@ -41,6 +41,8 @@ public class DemoStartedService implements IApplicationStartedService {
...
@@ -41,6 +41,8 @@ public class DemoStartedService implements IApplicationStartedService {
private
static
Log
logger
=
LogFactory
.
getLog
(
DemoStartedService
.
class
);
private
static
Log
logger
=
LogFactory
.
getLog
(
DemoStartedService
.
class
);
@Autowired
@Autowired
private
IUserFeign
userFeign
;
private
IUserFeign
userFeign
;
@Autowired
private
UserService
userService
;
@Override
@Override
public
void
start
()
{
public
void
start
()
{
...
@@ -54,7 +56,13 @@ public class DemoStartedService implements IApplicationStartedService {
...
@@ -54,7 +56,13 @@ public class DemoStartedService implements IApplicationStartedService {
ThreadPool
.
getInstance
().
execute
(
syncTreeSiteThread
);
ThreadPool
.
getInstance
().
execute
(
syncTreeSiteThread
);
if
(
ObjectUtils
.
isEmpty
(
userFeign
)){
if
(
ObjectUtils
.
isEmpty
(
userFeign
)){
logger
.
info
(
"userFeign未加载"
);
logger
.
info
(
"userFeign未加载,加载本地用户"
);
userService
.
find
(
new
UserQuery
()).
forEach
(
user
->{
Context
context
=
new
Context
();
context
.
setUser
(
user
);
ThreadPool
.
getInstance
().
execute
(
new
SyncTreeSiteThread
(
context
));
});
return
;
return
;
}
}
...
...
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