Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
d5a181ee
Commit
d5a181ee
authored
Jul 28, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix_0728_interactRecord_goods' into 'master'
feat: 互动记录 浏览商品bug修复 See merge request
!1373
parents
6d21e7b8
5b68290b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
InteractRecordBuilder.java
...ervice/service/content/adaptor/InteractRecordBuilder.java
+6
-5
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/content/adaptor/InteractRecordBuilder.java
View file @
d5a181ee
...
...
@@ -11,8 +11,8 @@ import com.gic.haoban.manage.service.pojo.bo.content.InteractRecordBO;
import
com.gic.haoban.manage.service.pojo.bo.content.InteractRecordExtendInfoBO
;
import
com.gic.haoban.manage.service.pojo.bo.content.PotentialCustomerBO
;
import
com.gic.haoban.manage.service.pojo.bo.content.context.InteractRecordMessageContext
;
import
com.gic.store.goods.dto.goods.
mall.MallGoods
InfoDTO
;
import
com.gic.store.goods.dto.qdto.
mall.Mall
GoodsListQDTO
;
import
com.gic.store.goods.dto.goods.
GoodsSpu
InfoDTO
;
import
com.gic.store.goods.dto.qdto.GoodsListQDTO
;
import
com.gic.store.goods.service.GoodsCenterApiService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
...
...
@@ -117,12 +117,13 @@ public class InteractRecordBuilder {
if
(
CollectionUtils
.
isEmpty
(
visitGoodsIds
))
{
return
Collections
.
emptyList
();
}
MallGoodsListQDTO
goodsListQDTO
=
new
Mall
GoodsListQDTO
();
GoodsListQDTO
goodsListQDTO
=
new
GoodsListQDTO
();
goodsListQDTO
.
setEnterpriseId
(
enterpriseId
);
goodsListQDTO
.
setIncludeGoodsIds
(
visitGoodsIds
);
goodsListQDTO
.
setPageSize
(
visitGoodsIds
.
size
()
+
1
);
// 0删除 1仓库 2上架 3回收站
ServiceResponse
<
Page
<
MallGoodsInfoDTO
>>
serviceResponse
=
goodsCenterApiService
.
queryMallGoodsList
(
goodsListQDTO
);
ServiceResponse
<
Page
<
GoodsSpuInfoDTO
>>
serviceResponse
=
goodsCenterApiService
.
queryStoreGoodsList
(
goodsListQDTO
);
// 1:已上线,2:未上线,3:回收站
if
(!
serviceResponse
.
isSuccess
())
{
log
.
info
(
"查询商品异常 {}"
,
JSON
.
toJSONString
(
serviceResponse
));
return
Collections
.
emptyList
();
...
...
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