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
0a04338b
Commit
0a04338b
authored
Dec 25, 2019
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店导入
parent
1a8f1923
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StoreApiServiceImpl.java
...com/gic/store/service/outer/impl/StoreApiServiceImpl.java
+1
-1
StoreImportController.java
...a/com/gic/store/web/controller/StoreImportController.java
+1
-1
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreApiServiceImpl.java
View file @
0a04338b
...
...
@@ -884,7 +884,7 @@ public class StoreApiServiceImpl implements StoreApiService {
}
jsonObject
.
put
(
existObj
.
toString
(),
value
==
null
?
0
l
:
Long
.
valueOf
(
value
));
}
else
{
jsonObject
.
put
(
existObj
.
toString
(),
extendDTO
.
getValue
()
==
null
?
0
:
Long
.
valueOf
(
extendDTO
.
getValue
()));
jsonObject
.
put
(
existObj
.
toString
(),
StringUtils
.
isBlank
(
extendDTO
.
getValue
())
?
0
:
Long
.
valueOf
(
extendDTO
.
getValue
()));
}
}
}
...
...
gic-store-web/src/main/java/com/gic/store/web/controller/StoreImportController.java
View file @
0a04338b
...
...
@@ -323,7 +323,7 @@ public class StoreImportController {
if
(
validate
)
{
// 验证门店code唯一
if
(
storeImportApiService
.
validateStoreName
(
enterpriseId
,
storeName
).
getResult
())
{
bean
.
setErrorMessage
(
"门店名
字重复
"
);
bean
.
setErrorMessage
(
"门店名
称已经存在
"
);
validate
=
false
;
}
}
...
...
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