Authored by mali

价格趋势 去重操作

... ... @@ -87,6 +87,11 @@ public class PriceTrendResp {
}
@Override
public boolean equals(Object obj) {
PriceTrendResp resp = (PriceTrendResp)obj;
return null != this.endTime && this.endTime.equals(resp.getEndTime());
}
public static class Builder {
private Integer id;
... ...
... ... @@ -64,7 +64,7 @@ public class ProductPriceService implements ApplicationContextAware{
.build())
);
return result;
return result.stream().distinct().collect(Collectors.toList());
}
public List<GoodsSize> queryProductSizeById(Integer productId) {
... ...