...
|
...
|
@@ -70,14 +70,14 @@ public class SecondhandProductServiceImpl implements SecondhandProductService { |
|
|
if(num == 0) {
|
|
|
return num;
|
|
|
}
|
|
|
|
|
|
List<Integer> qualityFlawIdList = flawImageList.stream().map(SecondhandImagesBo::getCode).collect(Collectors.toList());
|
|
|
|
|
|
SecondhandInfo record = new SecondhandInfo();
|
|
|
record.setSkup(skup);
|
|
|
if(CollectionUtils.isNotEmpty(qualityFlawIdList)) {
|
|
|
flawId += "," + StringUtils.join(qualityFlawIdList, ",");
|
|
|
}
|
|
|
if(CollectionUtils.isNotEmpty(flawImageList)) {
|
|
|
List<Integer> qualityFlawIdList = flawImageList.stream().map(SecondhandImagesBo::getCode).collect(Collectors.toList());
|
|
|
if (CollectionUtils.isNotEmpty(qualityFlawIdList)) {
|
|
|
flawId += "," + StringUtils.join(qualityFlawIdList, ",");
|
|
|
}
|
|
|
}
|
|
|
SecondhandInfo record = new SecondhandInfo();
|
|
|
record.setSkup(skup);
|
|
|
record.setFlawId(flawId);
|
|
|
record.setFlawAttr(flawAttr);
|
|
|
record.setDescribeInfo(describeInfo);
|
...
|
...
|
|