ruoyi-system/src/main/resources/mapper/system/TOrderSaleGoodsMapper.xml
@@ -28,7 +28,7 @@ </foreach> </delete> <select id="costTotal" resultType="java.math.BigDecimal"> select sum(goodsCostPrice) from t_order_sale_goods select sum(goodsCostPrice*goodsCount) from t_order_sale_goods <where> <if test="ids != null and ids.size()>0"> AND orderId IN