|
@@ -158,7 +158,7 @@ public class WebsitPartsOldOutLogic {
|
|
|
|
|
|
// 查询配件资料
|
|
|
final List<WebsitGoods> partsList = websitGoodsService.lambdaQuery()
|
|
|
- .eq(WebsitGoods::getGoodsCode, objects.stream()
|
|
|
+ .in(WebsitGoods::getGoodsCode, objects.stream()
|
|
|
.map(v -> (Optional.ofNullable(((List<Object>) v).get(4))).orElse(""))
|
|
|
.collect(Collectors.toSet()))
|
|
|
.eq(WebsitGoods::getGoodsType, WebsitGoodsTypeEnum.P.getKey())
|