From 1c94fcb81fcd666865d40a14bd6d02df1eeac2b3 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期六, 26 十月 2024 11:19:23 +0800
Subject: [PATCH] 修改

---
 ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TShoppingOrderMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TShoppingOrderMapper.xml b/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TShoppingOrderMapper.xml
index d771665..8d9321b 100644
--- a/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TShoppingOrderMapper.xml
+++ b/ruoyi-service/ruoyi-order/src/main/resources/mapper/order/TShoppingOrderMapper.xml
@@ -141,8 +141,8 @@
                 <if test="req.type == null or req.type == 3">
                     union all
                     select t3.code ,t3.order_amount as orderAmount,
-                    0 as couponDiscountAmount,
-                    t3.discount_amount as vipDiscountAmount,
+                    t3.discount_amount as couponDiscountAmount,
+                    0 as vipDiscountAmount,
                     t3.payment_amount as paymentAmount,
                     t3.create_time as createTime,
                     t3.app_user_id as appUserId,

--
Gitblit v1.7.1