From e6f3da826dd65994600d6ab032f56e202a3e81f6 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 3 Aug 2024 09:19:32 +0800 Subject: [PATCH] fix --- mallinkService/src/main/resources/mapper/WxAllBillMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml b/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml index 5a68364fa..b8d45fc8c 100644 --- a/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml @@ -180,7 +180,7 @@ count(1) total_count , sum(CAST(`receive_pay` AS DECIMAL(20,2)) - CAST(`pay` AS DECIMAL(20,2)) - CAST(IFNULL(`set_off`,'0') AS DECIMAL(20,2)) + CAST(IFNULL(`return_pay`,'0') AS DECIMAL(20,2))) total_money, MIN(br.starttime) min_begin_time from wx_all_bill - + group by bill_type @@ -195,7 +195,7 @@