Authored by chenchao

fix bug

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