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
5c21fe8b
Commit
5c21fe8b
authored
Apr 21, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
Developer See merge request
!2
parents
2046261c
f0f9c7a4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
StoreMessageHandler.java
...ava/com/gic/message/service/impl/StoreMessageHandler.java
+4
-2
com.alibaba.dubbo.validation.Validation
...es/META-INF/dubbo/com.alibaba.dubbo.validation.Validation
+0
-2
dubbo-gic-platform-message.xml
src/main/resources/dubbo-gic-platform-message.xml
+0
-1
No files found.
src/main/java/com/gic/message/service/impl/StoreMessageHandler.java
View file @
5c21fe8b
...
...
@@ -58,9 +58,11 @@ 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
())
==
1
&&
Integer
.
valueOf
(
fieldMap
.
get
(
"new_status"
).
getValue
())
==
0
)
{
if
(
Integer
.
valueOf
(
fieldMap
.
get
(
"old_status"
).
getValue
())
==
1
&&
Integer
.
valueOf
(
fieldMap
.
get
(
"new_status"
).
getValue
())
==
0
)
{
//删除
this
.
storeApiService
.
deleteStoreFromES
(
enterpriseId
,
storeId
);
}
else
{
}
else
if
(
Integer
.
valueOf
(
fieldMap
.
get
(
"old_status"
).
getValue
())
==
1
&&
Integer
.
valueOf
(
fieldMap
.
get
(
"new_status"
).
getValue
())
==
2
){
//下线
//todo 通知会员组(积分成本转移)
}
else
{
this
.
storeIndexRefreshHandler
.
refreshStoreIndex
(
enterpriseId
,
storeId
);
}
if
(
StoreOwnTypeEnum
.
OWNER
.
getCode
()
==
Integer
.
valueOf
(
fieldMap
.
get
(
"new_own_type"
).
getValue
()))
{
...
...
src/main/resources/META-INF/dubbo/com.alibaba.dubbo.validation.Validation
deleted
100644 → 0
View file @
2046261c
custom=com.gic.store.utils.custom.CustomValidation
\ No newline at end of file
src/main/resources/dubbo-gic-platform-message.xml
View file @
5c21fe8b
...
...
@@ -16,7 +16,6 @@
<dubbo:protocol
name=
"dubbo"
port=
"20340"
/>
<dubbo:reference
interface=
"com.gic.bizdict.api.service.BizdictService"
id=
"bizdictService "
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.log.api.service.LogApiService"
id=
"logApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.search.business.api.service.EsBusinessOperaApiService"
id=
"esBusinessOperaApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.enterprise.service.PlatformBrandApiService"
id=
"platformBrandApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.store.service.StoreApiService"
id=
"storeApiService"
timeout=
"6000"
/>
...
...
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