提交 14459b6d authored 作者: xinjunguo's avatar xinjunguo

--no commit message

上级 636cde20
......@@ -586,12 +586,21 @@ public class FgResourceLibraryController {
orderInfo.setType(goodsType);
orderInfo.setResourceTypeName(AllResourceTypeEnum.getName(Integer.parseInt(goodsType)));
orderInfo.setName(book.getName());
if(ebook.getPrice() == null){
orderInfo.setPrice(ebook.getRealPrice());
if("11".equals(goodsType)){
if(ebook.getEntityPrice() == null){
orderInfo.setPrice(ebook.getEntityRealPrice());
}else{
orderInfo.setPrice(ebook.getEntityPrice());
}
orderInfo.setSalePrice(ebook.getEntityRealPrice());
}else{
orderInfo.setPrice(ebook.getPrice());
if(ebook.getPrice() == null){
orderInfo.setPrice(ebook.getRealPrice());
}else{
orderInfo.setPrice(ebook.getPrice());
}
orderInfo.setSalePrice(ebook.getRealPrice());
}
orderInfo.setSalePrice(ebook.getRealPrice());
//获取分类编号
EbookDiyType alrt = new EbookDiyType();
alrt.setEbookId(ebook.getId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论