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 520496e..f80d8e2 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 @@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" at2.actual_amount end, 0)) as income, SUM(IFNULL(CASE - WHEN at2.trade_type in (30, 100, 110) then + WHEN at2.trade_type in (30, 100, 110, 120) then at2.actual_amount end, 0)) as outcome from @@ -128,21 +128,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" \ No newline at end of file