Authored by Lixiaodi

bug修改

... ... @@ -522,7 +522,10 @@ public class ProductServiceImpl implements IProductService, ApplicationContextAw
String intro = productIntroService.selectProductIntroById(product.getId());
bo.setProductIntro(intro == null ? "" : intro);
bo.setLimitSaleInfo(CollectionUtil.distinct(productLimitSaleMapper.selectByProductId(product.getId()), limit -> {
return limit.getUid() + " " + (limit.getProfitRate() == null ? "" : limit.getProfitRate()) + " " + (limit.getPackageFee() == null ? "" : limit.getPackageFee()) + " " + limit.getAppraiseFee();
return limit.getUid()
+ " " + (limit.getProfitRate() == null ? "" : limit.getProfitRate())
+ " " + (limit.getPackageFee() == null ? "" : limit.getPackageFee())
+ " " + (limit.getAppraiseFee() == null ? "" : limit.getAppraiseFee());
}));
bo.setIsSynCalender(product.getIsSynCalender());
bo.setOfferPrice(product.getOfferPrice().compareTo(BigDecimal.valueOf(0.00)) == 0 ? null : String.format("%d", product.getOfferPrice().intValue()));
... ...