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
2299d76e
Commit
2299d76e
authored
Nov 05, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店策略保存
parent
bbdec22c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
StoreStrategyApiServiceImpl.java
...store/service/outer/impl/StoreStrategyApiServiceImpl.java
+2
-2
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreStrategyApiServiceImpl.java
View file @
2299d76e
...
@@ -41,7 +41,7 @@ public class StoreStrategyApiServiceImpl implements StoreStrategyApiService{
...
@@ -41,7 +41,7 @@ public class StoreStrategyApiServiceImpl implements StoreStrategyApiService{
@Override
@Override
public
ServiceResponse
<
Integer
>
saveStoreStrategy
(
StoreStrategyDTO
storeStrategyDTO
)
{
public
ServiceResponse
<
Integer
>
saveStoreStrategy
(
StoreStrategyDTO
storeStrategyDTO
)
{
String
errorMessage
=
validParam
(
storeStrategyDTO
;
String
errorMessage
=
validParam
(
storeStrategyDTO
)
;
if
(
StringUtils
.
isNotBlank
(
errorMessage
))
{
if
(
StringUtils
.
isNotBlank
(
errorMessage
))
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
errorMessage
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
errorMessage
);
}
}
...
@@ -60,7 +60,7 @@ public class StoreStrategyApiServiceImpl implements StoreStrategyApiService{
...
@@ -60,7 +60,7 @@ public class StoreStrategyApiServiceImpl implements StoreStrategyApiService{
@Override
@Override
public
ServiceResponse
<
Integer
>
editStoreStrategy
(
StoreStrategyDTO
storeStrategyDTO
)
{
public
ServiceResponse
<
Integer
>
editStoreStrategy
(
StoreStrategyDTO
storeStrategyDTO
)
{
String
errorMessage
=
validParam
(
storeStrategyDTO
;
String
errorMessage
=
validParam
(
storeStrategyDTO
)
;
if
(
StringUtils
.
isNotBlank
(
errorMessage
))
{
if
(
StringUtils
.
isNotBlank
(
errorMessage
))
{
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
errorMessage
);
return
ServiceResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
errorMessage
);
}
}
...
...
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