Browse Source

修复退款数据的不准确

leichao 1 năm trước cách đây
mục cha
commit
dae6bc5261
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/java/com/sy/service/RetreatGoodsService.java

+ 1 - 1
src/main/java/com/sy/service/RetreatGoodsService.java

@@ -83,7 +83,7 @@ public class RetreatGoodsService extends ServiceImpl<RetreatGoodsMapper, Retreat
                 info.setGoodsId(ordersGoodsDel.getGoodsId());
                 info.setCount(ordersGoodsDel.getGoodsAmount());
                 info.setAmount(ordersGoodsDel.getGoodsTotalPrice());
-                amountAll = amountAll.add(ordersGoodsDel.getSalePrice());
+                amountAll = amountAll.add(ordersGoodsDel.getGoodsTotalPrice());
                 countAllGoods = countAllGoods.add(ordersGoodsDel.getGoodsAmount());
                 goods_Info.add(info);