From 82c07669fd47f22d9c80b322bcd200fed994b5df Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 15 May 2025 16:54:35 +0800
Subject: [PATCH] fix(mall): 修复商品价格计算错误

---
 src/main/resources/mapper/modules/MallOrderInfoMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
index eda3371..9799286 100644
--- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
+++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -420,7 +420,7 @@
         b.* ,
         b.amount as item_amount ,
         b.score_amount as item_score_amount ,
-        FLOOR(c.original_price * d.static_prop) as item_score_price ,
+        FLOOR((c.original_price * d.static_prop)/100) as item_score_price ,
                express.express_no
         from mall_order_info a
             left join mall_express_info express on a.id=express.order_id

--
Gitblit v1.9.1