|
@@ -863,7 +863,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if (StringUtils.isNotBlank(goodsGroup.getGoodsIdList())) {
|
|
|
List<Goods> goodsList = goodsDao.findGoodsByIds(goodsGroup.getGoodsIdList());
|
|
|
for(Goods goods : goodsList){
|
|
|
- orderAmount = orderAmount.add(goods.getMarketPrice());
|
|
|
+ orderAmount = orderAmount.add(goods.getDiscountPrice());
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
@@ -1144,7 +1144,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if (StringUtils.isNotBlank(goodsGroup.getGoodsIdList())) {
|
|
|
List<Goods> goodsList = goodsDao.findGoodsByIds(goodsGroup.getGoodsIdList());
|
|
|
for(Goods goods : goodsList){
|
|
|
- orderAmount = orderAmount.add(goods.getMarketPrice());
|
|
|
+ orderAmount = orderAmount.add(goods.getDiscountPrice());
|
|
|
}
|
|
|
}
|
|
|
}else{
|