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
821cadc9
Commit
821cadc9
authored
Apr 18, 2023
by
穆龙飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:修改过滤条件
parent
53142b5d
Pipeline
#47433
passed with stages
in 1 minute 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
SupplierItemServiceImpl.java
...xuan/change/biz/service/impl/SupplierItemServiceImpl.java
+1
-1
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/SupplierItemServiceImpl.java
View file @
821cadc9
...
...
@@ -79,7 +79,7 @@ public class SupplierItemServiceImpl implements ISupplierItemService {
spuTOList
=
spuTOList
.
stream
().
filter
(
i
->
i
.
getName
().
contains
(
itemName
)).
collect
(
Collectors
.
toList
());
}
if
(
StringUtils
.
isNotBlank
(
skuId
))
{
spuTOList
=
spuTOList
.
stream
().
filter
(
i
->
{
spuTOList
=
spuTOList
.
stream
().
filter
(
obj
->
!
CollectionUtils
.
isEmpty
(
obj
.
getSkuList
())).
filter
(
i
->
{
List
<
Long
>
skuIds
=
i
.
getSkuList
().
stream
().
map
(
SkuTo:
:
getId
).
collect
(
Collectors
.
toList
());
if
(
skuIds
.
contains
(
Long
.
valueOf
(
skuId
)))
{
return
Boolean
.
TRUE
;
...
...
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