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
84a5d1b0
Commit
84a5d1b0
authored
May 19, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店日志
parent
f33761d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
StoreApiServiceImpl.java
...com/gic/store/service/outer/impl/StoreApiServiceImpl.java
+7
-3
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreApiServiceImpl.java
View file @
84a5d1b0
...
...
@@ -245,9 +245,13 @@ public class StoreApiServiceImpl implements StoreApiService {
if
(
currCount
+
storeIds
.
split
(
","
).
length
>
upperLimit
)
{
return
EnterpriseServiceResponse
.
failure
(
ErrorCode
.
UNKNOWN_ERROR
.
getCode
(),
String
.
format
(
"本商户剩余门店数量为%s家, 请重新勾选正确的数量!"
,
upperLimit
));
}
String
[]
storeIdArr
=
storeIds
.
split
(
","
);
for
(
String
storeIdStr
:
storeIdArr
)
{
Integer
storeId
=
Integer
.
valueOf
(
storeIdStr
);
List
<
Integer
>
storeIdList
;
if
(
"all"
.
equals
(
storeIds
))
{
storeIdList
=
this
.
storeService
.
listAllStoreId
(
enterpriseId
);
}
else
{
storeIdList
=
Stream
.
of
(
storeIds
.
split
(
","
)).
map
(
Integer:
:
valueOf
).
collect
(
Collectors
.
toList
());
}
for
(
Integer
storeId
:
storeIdList
)
{
StoreDTO
store
=
this
.
getStoreById
(
enterpriseId
,
storeId
).
getResult
();
if
(
store
!=
null
)
{
store
.
setOverflowStatus
(
1
);
...
...
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