Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-message
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-platform-message
Commits
13f40423
Commit
13f40423
authored
Jun 17, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
5a04b808
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
StoreMessageHandler.java
...ava/com/gic/message/service/impl/StoreMessageHandler.java
+1
-1
No files found.
src/main/java/com/gic/message/service/impl/StoreMessageHandler.java
View file @
13f40423
...
...
@@ -85,7 +85,7 @@ public class StoreMessageHandler implements MessageHandler {
enterpriseId
=
Integer
.
valueOf
(
fieldMap
.
get
(
"new_enterprise_id"
).
getValue
());
storeId
=
Integer
.
valueOf
(
fieldMap
.
get
(
"new_store_id"
).
getValue
());
storeInfoId
=
Integer
.
valueOf
(
fieldMap
.
get
(
"new_store_info_id"
).
getValue
());
if
(
Integer
.
valueOf
(
fieldMap
.
get
(
OLD_STATUS
).
getValue
())
==
0
&&
Integer
.
valueOf
(
fieldMap
.
get
(
NEW_STATUS
).
getValue
())
==
1
)
{
//删除
if
(
Integer
.
valueOf
(
fieldMap
.
get
(
OLD_STATUS
).
getValue
())
==
1
&&
Integer
.
valueOf
(
fieldMap
.
get
(
NEW_STATUS
).
getValue
())
==
0
)
{
//删除
this
.
storeApiService
.
deleteStoreFromEs
(
enterpriseId
,
storeId
);
}
else
{
this
.
storeIndexRefreshHandler
.
refreshStoreIndex
(
enterpriseId
,
storeId
);
...
...
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