Commit 9e1563b8 by songyinghui

feat: 价格类型字段类型

parent 3e08141a
......@@ -167,9 +167,6 @@ public class ContentMaterialController {
SimpleGoodsInfoVO simpleGoodsInfoVO = new SimpleGoodsInfoVO();
BeanUtils.copyProperties(temp, simpleGoodsInfoVO);
simpleGoodsInfoVO.setGoodsImg(temp.getGoodsImageUrl());
if (temp.getSalePrice() != null) {
simpleGoodsInfoVO.setSalePrice(temp.getSalePrice().toPlainString());
}
return simpleGoodsInfoVO;
}).collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(goodsInfoVOS)) {
......
......@@ -52,7 +52,7 @@ public class SimpleGoodsInfoVO implements Serializable {
/**
* 商品价格
*/
private String salePrice;
private BigDecimal salePrice;
/**
* 商品状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment