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
fb209aaf
Commit
fb209aaf
authored
Jun 18, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改办件查询列表
parent
f0743212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowBusinessServiceImpl.java
...module/window/service/impl/WindowBusinessServiceImpl.java
+3
-8
No files found.
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowBusinessServiceImpl.java
View file @
fb209aaf
...
...
@@ -208,8 +208,10 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
}
private
void
updateWindowBusinessCacheResult
(
WindowBusinessEntity
entity
,
Context
context
)
{
log
.
info
(
"更新站点业务缓存 SiteBusinessId:{}"
,
entity
.
getSiteBusinessId
());
Long
siteBusinessId
=
entity
.
getSiteBusinessId
();
String
cacheResult
=
cacheService
.
get
(
KEY_SEARCH_SITEBUSINESSID_CACHE
+
siteBusinessId
,
String
.
class
);
cacheService
.
get
(
KEY_SEARCH_SITEBUSINESSID_CACHE
+
siteBusinessId
,
String
.
class
);
//更新查询结果
//查询数据库
...
...
@@ -220,11 +222,8 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
if
(!
ObjectUtils
.
isEmpty
(
result
.
getList
()))
{
cacheService
.
set
(
KEY_SEARCH_SITEBUSINESSID_CACHE
+
siteBusinessId
,
JSON
.
toJSONString
(
result
),
KEY_SEARCH_TIMEOUTT_CACHE
);
}
Long
windowId
=
entity
.
getWindowId
();
cacheService
.
get
(
KEY_SEARCH_WINDOWID_CACHE
+
windowId
,
String
.
class
);
//查询数据库
pageInfo
=
new
PageInfo
();
pageInfo
.
setPrePageResult
(-
1
);
...
...
@@ -234,7 +233,6 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
if
(!
ObjectUtils
.
isEmpty
(
result
.
getList
()))
{
cacheService
.
set
(
KEY_SEARCH_WINDOWID_CACHE
+
windowId
,
JSON
.
toJSONString
(
result
),
KEY_SEARCH_TIMEOUTT_CACHE
);
}
//窗口列表更新
Set
<
String
>
scanKeys
=
cacheService
.
scan
(
KEY_SEARCH_WINDOWID_LIST_CACHE
);
for
(
String
scanKey
:
scanKeys
)
{
...
...
@@ -265,11 +263,8 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
}
else
{
}
}
}
}
...
...
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