Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
e4b4661e
Commit
e4b4661e
authored
Apr 13, 2023
by
穆龙飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:add log
parent
7dbde8db
Pipeline
#47313
passed with stages
in 1 minute 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
SupplierItemServiceImpl.java
...xuan/change/biz/service/impl/SupplierItemServiceImpl.java
+3
-0
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/SupplierItemServiceImpl.java
View file @
e4b4661e
...
@@ -7,6 +7,7 @@ import java.util.stream.Collectors;
...
@@ -7,6 +7,7 @@ import java.util.stream.Collectors;
import
com.netease.mail.yanxuan.change.integration.item.meta.SkuTo
;
import
com.netease.mail.yanxuan.change.integration.item.meta.SkuTo
;
import
com.netease.mail.yanxuan.change.integration.todo.SupplierItemSkuVO
;
import
com.netease.mail.yanxuan.change.integration.todo.SupplierItemSkuVO
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -26,6 +27,7 @@ import com.netease.mail.yanxuan.change.integration.todo.SupplierItemVO;
...
@@ -26,6 +27,7 @@ import com.netease.mail.yanxuan.change.integration.todo.SupplierItemVO;
import
com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse
;
import
com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse
;
@Service
@Service
@Slf4j
public
class
SupplierItemServiceImpl
implements
ISupplierItemService
{
public
class
SupplierItemServiceImpl
implements
ISupplierItemService
{
@Autowired
@Autowired
...
@@ -43,6 +45,7 @@ public class SupplierItemServiceImpl implements ISupplierItemService {
...
@@ -43,6 +45,7 @@ public class SupplierItemServiceImpl implements ISupplierItemService {
List
<
SpuTO
>
spuTOList
=
new
ArrayList
<>();
List
<
SpuTO
>
spuTOList
=
new
ArrayList
<>();
if
(
data
!=
null
)
{
if
(
data
!=
null
)
{
Set
<
Long
>
fullItemIds
=
data
.
stream
().
map
(
SupplierGoodsInfoRsp:
:
getItemId
).
collect
(
Collectors
.
toSet
());
Set
<
Long
>
fullItemIds
=
data
.
stream
().
map
(
SupplierGoodsInfoRsp:
:
getItemId
).
collect
(
Collectors
.
toSet
());
log
.
debug
(
"[op:supplierGoodsInfoBySupplier] fullItemIds: {}"
,
fullItemIds
);
while
(
fullItemIds
.
size
()
>
200
)
{
while
(
fullItemIds
.
size
()
>
200
)
{
List
<
Long
>
itemIds
=
new
ArrayList
<>(
fullItemIds
).
subList
(
0
,
200
);
List
<
Long
>
itemIds
=
new
ArrayList
<>(
fullItemIds
).
subList
(
0
,
200
);
AjaxResult
<
List
<
SpuTO
>>
listAjaxResult
=
itemRpcService
AjaxResult
<
List
<
SpuTO
>>
listAjaxResult
=
itemRpcService
...
...
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