Authored by mali

最小最大价 ufo.product.baseInfoEx

... ... @@ -151,12 +151,6 @@ public class ProductServiceImpl implements ProductService {
resp.setPreSaleSkup(preSaleStoragePrice.getSkup());
}
Product product = productMapper.selectByPrimaryKey(storagePrice.getProductId());
if (null != product) {
resp.setProductMaxPrice(product.getMaxPrice());
resp.setProductMinPrice(product.getMinPrice());
}
return resp;
}
... ... @@ -185,6 +179,12 @@ public class ProductServiceImpl implements ProductService {
resp.setPreSaleSkup(preSaleStoragePrice.getSkup());
}
Product product = productMapper.selectByPrimaryKey(storage.getProductId());
if (null != product) {
resp.setProductMaxPrice(product.getMaxPrice());
resp.setProductMinPrice(product.getMinPrice());
}
return resp;
}
... ...