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
6e7dbdd5
Commit
6e7dbdd5
authored
May 17, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复窗口业务更新后缓存未更新问题
parent
2856bb21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
base-manager/src/main/java/com/mortals/xhx/module/window/web/WindowController.java
...a/com/mortals/xhx/module/window/web/WindowController.java
+5
-5
No files found.
base-manager/src/main/java/com/mortals/xhx/module/window/web/WindowController.java
View file @
6e7dbdd5
...
...
@@ -26,10 +26,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.HashMap
;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.*
;
import
static
com
.
mortals
.
framework
.
ap
.
SysConstains
.
MESSAGE_INFO
;
import
static
com
.
mortals
.
framework
.
ap
.
SysConstains
.
PAGEINFO_KEY
;
...
...
@@ -89,7 +86,10 @@ public class WindowController extends BaseCRUDJsonBodyMappingController<WindowSe
try
{
this
.
service
.
addBusinessToWindow
(
businessIds
,
windowId
,
getContext
());
//更新完窗口业务,删除缓存列表
cacheService
.
del
(
KEY_SEARCH_HALL_BUSINESS_CACHE
);
Set
<
String
>
scanSet
=
cacheService
.
scan
(
KEY_SEARCH_HALL_BUSINESS_CACHE
);
for
(
String
delKey
:
scanSet
)
{
cacheService
.
del
(
delKey
);
}
jsonObject
.
put
(
KEY_RESULT_DATA
,
model
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_SUCCESS
);
jsonObject
.
put
(
KEY_RESULT_MSG
,
"添加业务到窗口成功!"
);
...
...
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