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
b5855ddb
Commit
b5855ddb
authored
Apr 13, 2023
by
穆龙飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:增加查询条件
parent
e4b4661e
Pipeline
#47314
passed with stages
in 1 minute 31 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
SupplierItemServiceImpl.java
...xuan/change/biz/service/impl/SupplierItemServiceImpl.java
+4
-1
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/SupplierItemServiceImpl.java
View file @
b5855ddb
...
@@ -48,8 +48,11 @@ public class SupplierItemServiceImpl implements ISupplierItemService {
...
@@ -48,8 +48,11 @@ public class SupplierItemServiceImpl implements ISupplierItemService {
log
.
debug
(
"[op:supplierGoodsInfoBySupplier] fullItemIds: {}"
,
fullItemIds
);
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
);
List
<
String
>
commonProps
=
new
ArrayList
<>();
commonProps
.
add
(
"sku"
);
commonProps
.
add
(
"skuSpec"
);
AjaxResult
<
List
<
SpuTO
>>
listAjaxResult
=
itemRpcService
AjaxResult
<
List
<
SpuTO
>>
listAjaxResult
=
itemRpcService
.
batchQuerySpuInfo
(
BatchQuerySpuInfoParam
.
builder
().
ids
(
itemIds
).
build
());
.
batchQuerySpuInfo
(
BatchQuerySpuInfoParam
.
builder
().
ids
(
itemIds
).
commonProps
(
commonProps
).
build
());
List
<
SpuTO
>
pageSpuTo
=
listAjaxResult
.
getData
();
List
<
SpuTO
>
pageSpuTo
=
listAjaxResult
.
getData
();
if
(!
CollectionUtils
.
isEmpty
(
pageSpuTo
))
{
if
(!
CollectionUtils
.
isEmpty
(
pageSpuTo
))
{
spuTOList
.
addAll
(
pageSpuTo
);
spuTOList
.
addAll
(
pageSpuTo
);
...
...
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