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
ab4cfbc1
Commit
ab4cfbc1
authored
Jun 27, 2019
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店品牌
parent
56c47a12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StoreBrandServiceImpl.java
...ava/com/gic/store/service/impl/StoreBrandServiceImpl.java
+1
-1
StoreBrandController.java
...va/com/gic/store/web/controller/StoreBrandController.java
+1
-1
No files found.
gic-store-service/src/main/java/com/gic/store/service/impl/StoreBrandServiceImpl.java
View file @
ab4cfbc1
...
...
@@ -137,7 +137,7 @@ public class StoreBrandServiceImpl implements StoreBrandService {
Double
sort
;
if
(
list
.
size
()
==
1
)
{
// 置底
sort
=
list
.
get
(
0
).
getSort
();
sort
=
list
.
get
(
0
).
getSort
()
+
1
d
;
}
else
{
sort
=
(
list
.
get
(
0
).
getSort
()
+
list
.
get
(
1
).
getSort
())
/
2
d
;
}
...
...
gic-store-web/src/main/java/com/gic/store/web/controller/StoreBrandController.java
View file @
ab4cfbc1
...
...
@@ -94,7 +94,7 @@ public class StoreBrandController {
@RequestMapping
(
"/set-store-brand-sort"
)
public
RestResponse
setStoreBrandSort
(
Integer
storeBrandId
,
Integer
seq
)
{
Integer
enterpriseId
=
1111
;
ServiceResponse
serviceResponse
=
storeBrandApiService
.
moveStoreBrand
(
enterpriseId
,
storeBrandId
,
seq
);
ServiceResponse
serviceResponse
=
storeBrandApiService
.
setStoreBrandSort
(
enterpriseId
,
storeBrandId
,
seq
);
if
(
serviceResponse
.
isSuccess
())
{
return
RestResponse
.
success
(
serviceResponse
.
getResult
());
}
else
{
...
...
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