From d96da693cacf0e0e647498001058fec403266ecc Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Fri, 22 Mar 2024 11:27:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A50?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/szwh/UserAccountBillMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/szwh/UserAccountBillMapper.xml b/src/main/resources/mapper/szwh/UserAccountBillMapper.xml index 83f256d..9fbc49a 100644 --- a/src/main/resources/mapper/szwh/UserAccountBillMapper.xml +++ b/src/main/resources/mapper/szwh/UserAccountBillMapper.xml @@ -89,7 +89,7 @@ select sum(${field}) from ub INNER JOIN `order` o ON ub.batchcode = o.batchcode where ub.user_isli = #{user_isli} - AND (ub.thatday_sale_money> OR ub.thatday_buy_money>0) + AND (ub.thatday_sale_money>0 OR ub.thatday_buy_money>0) AND o.status in (2,3,4);