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
c6edf365
Commit
c6edf365
authored
Nov 20, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
43485ee6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
StoreController.java
...in/java/com/gic/store/web/controller/StoreController.java
+5
-4
No files found.
gic-store-web/src/main/java/com/gic/store/web/controller/StoreController.java
View file @
c6edf365
...
...
@@ -398,11 +398,12 @@ public class StoreController extends DownloadUtils {
if
(
StringUtils
.
isNotBlank
(
cacheStoreId
))
{
return
RestResponse
.
failure
(
ErrorCode
.
OPERATION_FAILED
.
getCode
(),
"请其他门店会员转移完毕后再试"
);
}
StoreDTO
storeDTO
=
storeApiService
.
getStoreById
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
(),
memberTransStoreId
).
getResult
();
if
(
StringUtils
.
isBlank
(
storeDTO
.
getBrandIds
()))
{
return
RestResponse
.
failure
(
ErrorCode
.
UNKNOWN_ERROR
.
getCode
(),
"该门店无店招品牌信息,请完善后再执行此操作"
);
}
}
StoreDTO
storeDTO
=
storeApiService
.
getStoreById
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
(),
memberTransStoreId
).
getResult
();
if
(
StringUtils
.
isBlank
(
storeDTO
.
getBrandIds
()))
{
return
RestResponse
.
failure
(
ErrorCode
.
UNKNOWN_ERROR
.
getCode
(),
"该门店无店招品牌信息,请完善后再执行此操作"
);
}
ServiceResponse
response
=
this
.
storeApiService
.
bulkUpdateStore
(
storeIds
,
value
,
enterpriseId
,
type
,
UserDetailUtils
.
getUserDetail
().
getUserId
(),
UserDetailUtils
.
getUserDetail
().
getUserInfo
().
getUserName
());
if
(
response
.
isSuccess
())
{
if
(
type
==
1
&&
toStoreId
!=
null
)
{
...
...
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