Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-store
Commits
52080a99
Commit
52080a99
authored
Mar 26, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店保存修改
parent
6e9463ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
StoreDictApiServiceImpl.java
...gic/store/service/outer/impl/StoreDictApiServiceImpl.java
+6
-0
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreDictApiServiceImpl.java
View file @
52080a99
...
...
@@ -181,6 +181,9 @@ public class StoreDictApiServiceImpl implements StoreDictApiService {
List
<
String
>
del
=
existList
.
stream
().
filter
(
s
->
!
newList
.
contains
(
s
)).
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
add
)){
add
.
forEach
(
s
->
{
if
(
StringUtils
.
isBlank
(
s
)){
return
;
}
TabStoreField
tabStoreField
=
this
.
storeFieldService
.
getStoreFieldById
(
Integer
.
valueOf
(
s
));
if
(
tabStoreField
.
getStoreFieldType
()
!=
null
&&
tabStoreField
.
getStoreFieldType
().
intValue
()
==
1
){
return
;
...
...
@@ -206,6 +209,9 @@ public class StoreDictApiServiceImpl implements StoreDictApiService {
}
if
(
CollectionUtils
.
isNotEmpty
(
del
)){
del
.
forEach
(
s
->
{
if
(
StringUtils
.
isBlank
(
s
)){
return
;
}
String
key
=
StoreRedisKeyUtils
.
getStoreFieldKey
(
enterpriseId
,
Integer
.
valueOf
(
s
));
this
.
storeDictService
.
deleteStoreField
(
enterpriseId
,
s
);
Object
c
=
RedisUtil
.
getCache
(
key
);
...
...
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