From bcc66e6d54badf46c576017f131de9aa6b9b2f0c Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 28 Dec 2022 17:26:59 +0800 Subject: [PATCH] fix --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index decccd9..db95fed 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -323,7 +323,7 @@ count(a.id) from mall_order_info a where - a.status <![CDATA[>= ]]> 4 + a.status = 4 and a.member_id = #{memberId} <if test="createdTime != null"> and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime} @@ -336,7 +336,7 @@ ifnull(sum(a.subsidy_amount),0) from mall_order_info a where - a.status <![CDATA[>= ]]> 4 + a.status = 4 and a.member_id = #{memberId} <if test="createdTime != null"> and date_format(a.CREATED_TIME, '%Y-%m-%d') = #{createdTime} -- Gitblit v1.9.1