Authored by WN\wangnan

productprice修改表结构 fix

... ... @@ -120,7 +120,7 @@ public class ProductPriceMqListener extends AbstractIndexMqListener {
// 构造ProductPriceBO
ProductPriceBO productPriceBO = new ProductPriceBO(pp);
productPriceBuilder.fillProductPriceBO(productPriceBO);
indexData.put("productId", productPriceBO.getProductId());
indexData.put("productId", productId);
indexData.put("marketPrice", this.getDoubleFromBigDecimal(productPriceBO.getMarketPrice()));
indexData.put("salesPrice", this.getDoubleFromBigDecimal(productPriceBO.getSalesPrice()));
indexData.put("vipPrice", this.getDoubleFromBigDecimal(productPriceBO.getVipPrice()));
... ...
... ... @@ -6,7 +6,6 @@ import java.math.BigDecimal;
public class ProductPriceBO {
private Integer productId;
private BigDecimal marketPrice;
private BigDecimal salesPrice;
private BigDecimal vipPrice;
... ... @@ -65,14 +64,6 @@ public class ProductPriceBO {
this.lastReducePriceTime = lastReducePriceTime;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
public BigDecimal getMarketPrice() {
return marketPrice;
}
... ...