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
186d35b7
Commit
186d35b7
authored
Feb 17, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分一键部署功能
parent
5db6f299
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowBusinessServiceImpl.java
...module/window/service/impl/WindowBusinessServiceImpl.java
+8
-2
No files found.
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowBusinessServiceImpl.java
View file @
186d35b7
...
@@ -238,10 +238,16 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
...
@@ -238,10 +238,16 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
//窗口列表更新
//窗口列表更新
Set
<
String
>
scanKeys
=
cacheService
.
scan
(
KEY_SEARCH_WINDOWID_LIST_CACHE
);
Set
<
String
>
scanKeys
=
cacheService
.
scan
(
KEY_SEARCH_WINDOWID_LIST_CACHE
);
for
(
String
scanKey
:
scanKeys
)
{
for
(
String
scanKey
:
scanKeys
)
{
log
.
info
(
"scanKey:{}"
,
scanKey
);
//
log.info("scanKey:{}", scanKey);
String
winIds
=
StrUtil
.
removePrefixIgnoreCase
(
scanKey
,
KEY_SEARCH_WINDOWID_LIST_CACHE
);
String
winIds
=
StrUtil
.
removePrefixIgnoreCase
(
scanKey
,
KEY_SEARCH_WINDOWID_LIST_CACHE
);
List
<
String
>
split
=
StrUtil
.
split
(
winIds
,
"#"
);
List
<
String
>
split
=
StrUtil
.
split
(
winIds
,
"#"
);
List
<
Long
>
windowIdlist
=
split
.
stream
().
map
(
m
->
Long
.
parseLong
(
m
)).
collect
(
Collectors
.
toList
());
List
<
Long
>
windowIdlist
=
split
.
stream
().
map
(
m
->
{
try
{
return
Long
.
parseLong
(
m
);
}
catch
(
Exception
e
)
{
return
-
1L
;
}
}).
collect
(
Collectors
.
toList
());
if
(
windowIdlist
.
contains
(
windowId
))
{
if
(
windowIdlist
.
contains
(
windowId
))
{
//更新窗口列表缓存
//更新窗口列表缓存
...
...
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