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
791d69e9
Commit
791d69e9
authored
Apr 02, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店保存修改
parent
d7114257
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
StoreApiServiceImpl.java
...com/gic/store/service/outer/impl/StoreApiServiceImpl.java
+2
-2
StoreGroupApiServiceImpl.java
...ic/store/service/outer/impl/StoreGroupApiServiceImpl.java
+4
-0
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreApiServiceImpl.java
View file @
791d69e9
...
...
@@ -1042,9 +1042,9 @@ public class StoreApiServiceImpl implements StoreApiService {
}
if
(
type
==
1
||
type
==
5
||
type
==
7
)
{
if
(
"all"
.
equals
(
storeIds
))
{
this
.
bulk
Update
StoreToIndex
(
enterpriseId
);
this
.
bulk
Add
StoreToIndex
(
enterpriseId
);
}
else
{
this
.
bulk
Update
StoreToIndex
(
enterpriseId
,
storeIdList
);
this
.
bulk
Add
StoreToIndex
(
enterpriseId
,
storeIdList
);
}
}
}
catch
(
Exception
e
)
{
...
...
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreGroupApiServiceImpl.java
View file @
791d69e9
...
...
@@ -6,6 +6,7 @@ import java.util.List;
import
java.util.Stack
;
import
java.util.concurrent.TimeUnit
;
import
com.gic.store.service.StoreApiService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -38,6 +39,8 @@ public class StoreGroupApiServiceImpl implements StoreGroupApiService {
private
StoreService
storeService
;
@Autowired
private
StoreGroupService
storeGroupService
;
@Autowired
private
StoreApiService
storeApiService
;
@Override
public
ServiceResponse
<
Integer
>
save
(
StoreGroupDTO
storeGroupDTO
)
{
...
...
@@ -204,6 +207,7 @@ public class StoreGroupApiServiceImpl implements StoreGroupApiService {
//刷新缓存
refreshRedisCache
(
storeGroupDTO
.
getStoreGroupId
());
this
.
storeApiService
.
refreshStoreIndex
(
storeGroupDTO
.
getEnterpriseId
(),
storeGroupDTO
.
getStoreGroupId
());
return
ServiceResponse
.
success
(
SUCCESS
);
}
...
...
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