Authored by wangnan9279

ufo to yoho

... ... @@ -38,6 +38,7 @@ public class UfoToYohoPriceService {
ufoStoragePriceList = ufoStoragePriceList.stream().filter(s -> s.getStatus() == 1).sorted(Comparator.comparing(UfoStoragePrice::getPrice)).collect(Collectors.toList());
if (CollectionUtils.isEmpty(ufoStoragePriceList)) {
productIndexBO.setStatus(0);
return;
}
BigDecimal price = ufoStoragePriceList.get(0).getPrice();
productIndexBO.setMarketPrice(price);
... ...