记得上下班打卡 | 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
553e3d98
Commit
553e3d98
authored
Feb 28, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_goblin' into dev_goblin
parents
f67e65be
9b10007c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
GoblinStoreMgtGoodsController.java
...blin/controller/manage/GoblinStoreMgtGoodsController.java
+2
-1
GoblinStoreMgtGoodsServiceImpl.java
...n/service/impl/manage/GoblinStoreMgtGoodsServiceImpl.java
+2
-2
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtGoodsController.java
View file @
553e3d98
...
...
@@ -140,8 +140,9 @@ public class GoblinStoreMgtGoodsController {
log
.
warn
(
"商品管理:SPU管理:上架警告:请先将商品下架后操作[UID={},spuId={}]"
,
currentUid
,
spuId
);
return
ResponseDto
.
failure
(
ErrorCode
.
HTTP_PARAM_ERROR
.
getCode
(),
"无效操作,商品已上架"
);
}
spuNoList
.
add
(
goodsInfoVo
.
getSpuNo
());
}
goblinstoreMgtGoodsService
.
goodsShelvesProcessing
(
mgtGoodsActionParam
,
currentUid
,
true
,
null
);
goblinstoreMgtGoodsService
.
goodsShelvesProcessing
(
mgtGoodsActionParam
,
currentUid
,
true
,
spuNoList
);
break
;
case
"UNSHELVE"
:
for
(
String
spuId
:
spuIdList
)
{
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinStoreMgtGoodsServiceImpl.java
View file @
553e3d98
...
...
@@ -854,9 +854,9 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
String
storeId
=
mgtGoodsActionParam
.
getStoreId
();
List
<
String
>
spuIdList
=
mgtGoodsActionParam
.
getSpuIdList
();
if
(!
shelvesFlg
)
{
//
下架操作,需处理关联活动的商品数据
// if (!shelvesFlg) {// 上架、
下架操作,需处理关联活动的商品数据
spuIdList
.
addAll
(
goblinMongoUtils
.
getMgtSpuIdsForMarketBySpuNos
(
spuNoList
,
"3"
));
}
//
}
if
(
goblinMongoUtils
.
updateGoodsInfoVoByShelves
(
storeId
,
spuIdList
,
shelvesFlg
,
uid
,
now
))
{
if
(
goblinMongoUtils
.
updateGoodsSkuInfoVoByShelves
(
storeId
,
spuIdList
,
shelvesFlg
,
uid
,
now
))
{
...
...
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