Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
mali
6 years ago
Commit
120856ff397bdbd2e41af8b2d5c4baf767ad82d1
1 parent
1d1d9211
批量导入商品接口
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
product/src/main/java/com/yoho/ufo/service/impl/ProductServiceImpl.java
product/src/main/java/com/yoho/ufo/service/impl/ProductServiceImpl.java
View file @
120856f
...
...
@@ -656,13 +656,14 @@ public static void main(String[] args) {
bo1
.
setSaleTime
(
bo
.
getSaleTime
().
trim
());
Map
<
String
,
Integer
>
stringIntegerMap1
=
brandSeriesMap
.
get
(
bo1
.
getBrandId
());
if
(
null
==
stringIntegerMap1
||
null
==
stringIntegerMap1
.
get
(
bo
.
getSeriesName
().
trim
()))
{
return
new
ApiResponse
<>(
400
,
"品牌系列不匹配!"
);
}
bo1
.
setSeriesId
(
stringIntegerMap1
.
get
(
bo
.
getSeriesName
().
trim
()));
if
(
StringUtils
.
isNoneEmpty
(
bo
.
getSeriesName
()))
{
Map
<
String
,
Integer
>
stringIntegerMap1
=
brandSeriesMap
.
get
(
bo1
.
getBrandId
());
if
(
null
==
stringIntegerMap1
||
null
==
stringIntegerMap1
.
get
(
bo
.
getSeriesName
().
trim
()))
{
return
new
ApiResponse
<>(
400
,
"品牌系列不匹配!"
);
}
bo1
.
setSeriesId
(
stringIntegerMap1
.
get
(
bo
.
getSeriesName
().
trim
()));
}
List
<
Integer
>
sizeIdList
=
new
ArrayList
<>();
Map
<
String
,
Integer
>
stringIntegerMap
=
sizeMap
.
get
(
bo1
.
getMidSortId
());
...
...
Please
register
or
login
to post a comment