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