...
|
...
|
@@ -142,8 +142,8 @@ public class SecondhandProductService implements ISecondhandProductService{ |
|
|
Map<Integer, Product> productMap = productList.stream().collect(Collectors.toMap(Product::getId, Function.identity()));
|
|
|
|
|
|
//查询secondhand_flaw
|
|
|
List<String> flawIdStrList = infoList.stream().map(SecondhandInfo::getFlawId).collect(Collectors.toList());
|
|
|
List<SecondhandFlaw> flawList = secondhandFlawMapper.selectBatchByIds(getFlawIdList(flawIdStrList));
|
|
|
//List<String> flawIdStrList = infoList.stream().map(SecondhandInfo::getFlawId).collect(Collectors.toList());
|
|
|
List<SecondhandFlaw> flawList = secondhandFlawMapper.selectAllFlaw();
|
|
|
Map<Integer, String> flawMap = flawList.stream().collect(Collectors.toMap(SecondhandFlaw::getId, SecondhandFlaw::getName));
|
|
|
|
|
|
//查询goods_images
|
...
|
...
|
|