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
aa3f1791
Commit
aa3f1791
authored
Feb 03, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店品牌变更
parent
5d1e0bec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
StoreBrandChangeDTO.java
.../src/main/java/com/gic/store/dto/StoreBrandChangeDTO.java
+9
-0
StoreApiServiceImpl.java
...com/gic/store/service/outer/impl/StoreApiServiceImpl.java
+1
-0
No files found.
gic-store-api/src/main/java/com/gic/store/dto/StoreBrandChangeDTO.java
View file @
aa3f1791
...
...
@@ -4,6 +4,7 @@ import java.io.Serializable;
import
java.util.List
;
public
class
StoreBrandChangeDTO
implements
Serializable
{
private
List
<
Integer
>
storeInfoIdList
;
private
List
<
Integer
>
add
;
private
List
<
Integer
>
del
;
private
boolean
change
=
false
;
...
...
@@ -31,4 +32,12 @@ public class StoreBrandChangeDTO implements Serializable {
public
void
setChange
(
boolean
change
)
{
this
.
change
=
change
;
}
public
List
<
Integer
>
getStoreInfoIdList
()
{
return
storeInfoIdList
;
}
public
void
setStoreInfoIdList
(
List
<
Integer
>
storeInfoIdList
)
{
this
.
storeInfoIdList
=
storeInfoIdList
;
}
}
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreApiServiceImpl.java
View file @
aa3f1791
...
...
@@ -213,6 +213,7 @@ public class StoreApiServiceImpl implements StoreApiService {
}
if
(
storeBrandChangeDTO
.
isChange
()){
//调用归属重算
storeBrandChangeDTO
.
setStoreInfoIdList
(
Collections
.
singletonList
(
storeDTO
.
getStoreInfoId
()));
this
.
storeUpdateApiService
.
storeBrandChange
(
storeDTO
.
getEnterpriseId
(),
Collections
.
singletonList
(
storeDTO
.
getStoreInfoId
()),
storeDTO
.
getOperatorId
());
logger
.
info
(
"调用会员接口进行归属重算, {}"
,
storeDTO
.
getStoreInfoId
());
}
...
...
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