Commit 535cf10f authored by unset's avatar unset

添加订单商品信息

parent adbb94e0
......@@ -897,12 +897,14 @@ public class OrderInfoBiz extends BaseBiz<OrderInfoMapper, OrderInfo> {
ItemInfoVo itemInfoVo = new ItemInfoVo();
itemInfoVo.setName(imageImgStorage.getName() + imageInfoRelation.getFileWidth());
itemInfoVo.setId(Long.parseLong(String.valueOf(imageInfoRelation.getId())));
itemInfoVo.setType(ItemTypeEnum.IMAGE_STORAGE.getType());
itemInfoVoList.add(itemInfoVo);
});
} else {
ItemInfoVo itemInfoVo = new ItemInfoVo();
itemInfoVo.setName(imageImgStorage.getName());
itemInfoVo.setId(Long.parseLong(String.valueOf(imageImgStorage.getId())));
itemInfoVo.setType(ItemTypeEnum.IMAGE_STORAGE.getType());
itemInfoVoList.add(itemInfoVo);
}
});
......@@ -915,6 +917,7 @@ public class OrderInfoBiz extends BaseBiz<OrderInfoMapper, OrderInfo> {
ItemInfoVo itemInfoVo = new ItemInfoVo();
itemInfoVo.setName(industryApplicationInfo.getTitle());
itemInfoVo.setId(Long.parseLong(String.valueOf(industryApplicationInfo.getId())));
itemInfoVo.setType(ItemTypeEnum.INDUSTRY_INFO.getType());
itemInfoVoList.add(itemInfoVo);
});
}
......
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