...
|
...
|
@@ -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));
|
|
|
}
|
...
|
...
|
|