Ver Fonte

修复退款数据的不准确

leichao há 1 ano atrás
pai
commit
dae6bc5261
1 ficheiros alterados com 1 adições e 1 exclusões
  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);