Authored by mali

显示颜色 默认是色系名称

... ... @@ -168,6 +168,7 @@ public class ProductServiceImpl implements IProductService, ApplicationContextAw
BeanUtils.copyProperties(bo, g);
g.setId(bo.getGoodsId());
g.setIsDefault("Y");
g.setGoodsName(StringUtils.isEmpty(g.getGoodsName()) ? g.getColorName() : g.getGoodsName());
if (CollectionUtils.isNotEmpty(bo.getImageUrlList())) {
g.setColorImage(ImagesHelper.getImageRelativeUrl(bo.getImageUrlList().get(0), ImagesConstant.BUCKET_GOODS_IMG));
}
... ...