记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
be376505
Commit
be376505
authored
Jan 18, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~API:商品管理:sku.name赋值;
parent
5eb85268
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
GoblinStoreMgtGoodsAddParam.java
...ervice/goblin/dto/manage/GoblinStoreMgtGoodsAddParam.java
+3
-3
GoblinGoodsInfoVo.java
...om/liquidnet/service/goblin/dto/vo/GoblinGoodsInfoVo.java
+7
-4
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtGoodsAddParam.java
View file @
be376505
...
...
@@ -306,7 +306,7 @@ public class GoblinStoreMgtGoodsAddParam implements Serializable {
GoblinGoodsSpecDto
specDto
=
skuSpecList
.
get
(
j
);
String
specName
=
specDto
.
getSpecName
();
String
specVname
=
specDto
.
getSpecVname
();
skuname
=
" "
.
concat
(
specVname
);
skuname
=
skuname
.
concat
(
specVname
);
GoblinGoodsSpecValueVo
specValueVo
=
GoblinGoodsSpecValueVo
.
getNew
().
setSpecVname
(
specVname
).
setSpecVsort
(
i
);
if
(
i
==
0
)
{
...
...
@@ -316,7 +316,7 @@ public class GoblinStoreMgtGoodsAddParam implements Serializable {
}
ArrayList
<
GoblinGoodsSpecValueVo
>
specValueVos
=
new
ArrayList
<>();
specValueVos
.
add
(
specValueVo
);
goodsSpecVos
.
add
(
GoblinGoodsSpecVo
.
getNew
().
setSpecName
(
specName
).
setSpecSort
(
j
).
setSpecValues
(
specValueVos
));
goodsSpecVos
.
add
(
GoblinGoodsSpecVo
.
getNew
().
setSpecName
(
specName
).
setSpecSort
(
j
+
1
).
setSpecValues
(
specValueVos
));
}
else
{
Optional
<
GoblinGoodsSpecVo
>
filterGoodsSpecOptional
=
goodsSpecVos
.
stream
().
filter
(
r
->
r
.
getSpecName
().
equals
(
specName
)).
findAny
();
if
(
filterGoodsSpecOptional
.
isPresent
())
{
// 存在该规格
...
...
@@ -335,7 +335,7 @@ public class GoblinStoreMgtGoodsAddParam implements Serializable {
}
skuSpecNListTmp
.
add
(
specName
);
}
skuInfoVo
.
setName
(
skuname
.
substring
(
1
)
);
skuInfoVo
.
setName
(
skuname
);
}
goodsInfoVo
.
setPriceGe
(
priceGe
);
goodsInfoVo
.
setPriceLe
(
priceLe
);
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinGoodsInfoVo.java
View file @
be376505
...
...
@@ -105,14 +105,17 @@ public class GoblinGoodsInfoVo implements Serializable, Cloneable {
private
List
<
GoblinServiceSupportVo
>
serviceSupportVoList
;
@ApiModelProperty
(
position
=
54
,
value
=
"音乐人、艺术家、IP列表"
)
private
List
<
GoblinGoodsExtagVo
>
extagVoList
;
@ApiModelProperty
(
position
=
55
,
value
=
"活动Id"
)
private
String
marketId
;
@ApiModelProperty
(
position
=
56
,
value
=
"销量"
)
private
Integer
count
;
@ApiModelProperty
(
position
=
55
,
value
=
"SPU包含的SKU_ID列表"
)
private
List
<
String
>
skuIdList
;
/* ------------------------------------------------------------ */
@ApiModelProperty
(
position
=
60
,
value
=
"活动Id"
)
private
String
marketId
;
@ApiModelProperty
(
position
=
61
,
value
=
"销量"
)
private
Integer
count
;
private
static
final
GoblinGoodsInfoVo
obj
=
new
GoblinGoodsInfoVo
();
public
static
GoblinGoodsInfoVo
getNew
()
{
...
...
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