From c070371c7af738dbcfcf045b9fcc2c7342972323 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 23 Dec 2022 11:52:12 +0800
Subject: [PATCH] 20221221

---
 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 806a69b..9778498 100644
--- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
+++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -243,7 +243,7 @@
 
     <select id="selectTotalAmount" resultType="java.math.BigDecimal">
         select IFNULL(sum(IFNULL(amount,0)),0) from mall_order_info
-        where member_id=#{memberId} and status in (2, 3, 4) and order_type=1
+        where member_id=#{memberId} and status <![CDATA[>= ]]> 4
     </select>
 
     <select id="selectTotalAmountForDate" resultType="java.math.BigDecimal">

--
Gitblit v1.9.1