From bb43eb580365de1a0369da355f464ee084fecbf9 Mon Sep 17 00:00:00 2001 From: gaowdong Date: Mon, 19 May 2025 17:20:23 +0800 Subject: [PATCH] =?UTF-8?q?6009=20=E4=B8=AA=E4=BA=BA=E6=94=B6=E6=94=AF?= =?UTF-8?q?=E6=B1=87=E6=80=BB=E4=B8=8A=E6=9C=9F=E4=BD=99=E9=A2=9D=E4=BC=9A?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E8=B4=9F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/report/AccReportMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/AccReportMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/AccReportMapper.xml index f80d8e2..68dc836 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/AccReportMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/report/AccReportMapper.xml @@ -135,7 +135,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" b.dept_full_name, b.nick_name, c.wallet_bal_user as wallet_bal, - (b.income - b.outcome) as wallet_bal_now, + ((d.income - d.outcome) + (b.income - b.outcome)) as wallet_bal_now, b.income, b.outcome, (d.income - d.outcome) as last_wallet_bal