Commit 3eb46f1b authored by shiyu's avatar shiyu

修改原始图片

parent 7b9dff6c
......@@ -101,6 +101,7 @@ public class ItemServiceImpl implements ItemService {
Item item = new Item();
EntityMapper.copyAttribute(coinRequestDto, item);
item.setIsStd(coinRequestDto.getIsStd() == 0 ? false : true);
item.setImages(com.qiniu.util.StringUtils.join(coinRequestDto.getImages(), ";"));
//如果该商品为标准件则替换原有的标准件
if (item.getIsStd()) {
......
......@@ -41,7 +41,7 @@ public class CoinRequestDto extends BaseRequestDto implements Entity {
/**
* 原始图片,以分号分割
*/
private String images;
private String[] images;
/**
* 图片
......
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