Commit 512c4214 authored by unset's avatar unset

添加通知信息

parent d9b6a82c
...@@ -86,7 +86,6 @@ public class ConfirmOrderService { ...@@ -86,7 +86,6 @@ public class ConfirmOrderService {
BigDecimal totalAmount = imageDataVO.getPrice().multiply(new BigDecimal(itemInfoDto.getNumber())); BigDecimal totalAmount = imageDataVO.getPrice().multiply(new BigDecimal(itemInfoDto.getNumber()));
amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue()))); amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue())));
} }
break;
//行业应用 //行业应用
case INDUSTRY_INFO: case INDUSTRY_INFO:
IndustryApplicationInfo industryApplicationInfo = industryApplicationInfoBiz.getOneById(itemInfoDto.getId().intValue()).getData(); IndustryApplicationInfo industryApplicationInfo = industryApplicationInfoBiz.getOneById(itemInfoDto.getId().intValue()).getData();
...@@ -105,7 +104,6 @@ public class ConfirmOrderService { ...@@ -105,7 +104,6 @@ public class ConfirmOrderService {
BigDecimal totalAmount = industryApplicationInfo.getPrice().multiply(new BigDecimal(itemInfoDto.getNumber())); BigDecimal totalAmount = industryApplicationInfo.getPrice().multiply(new BigDecimal(itemInfoDto.getNumber()));
amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue()))); amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue())));
} }
break;
//影像图库 //影像图库
case IMAGE_STORAGE: case IMAGE_STORAGE:
ImageInfoRelation imageInfoRelation = imageInfoRelationBiz.selectById(itemInfoDto.getId()); ImageInfoRelation imageInfoRelation = imageInfoRelationBiz.selectById(itemInfoDto.getId());
...@@ -130,7 +128,6 @@ public class ConfirmOrderService { ...@@ -130,7 +128,6 @@ public class ConfirmOrderService {
amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue()))); amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue())));
} }
} }
break;
//购物车 //购物车
case SHOPPING_CART_INFO: case SHOPPING_CART_INFO:
ShoppingCartInfo shoppingCartInfo = shoppingCartInfoBiz.selectById(itemInfoDto.getId()); ShoppingCartInfo shoppingCartInfo = shoppingCartInfoBiz.selectById(itemInfoDto.getId());
...@@ -148,7 +145,6 @@ public class ConfirmOrderService { ...@@ -148,7 +145,6 @@ public class ConfirmOrderService {
BigDecimal totalAmount = shoppingCartInfo.getTotalAmount(); BigDecimal totalAmount = shoppingCartInfo.getTotalAmount();
amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue()))); amount.updateAndGet(v -> new Double((double) (v + totalAmount.doubleValue())));
} }
break;
default: default:
break; break;
} }
......
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