Hentua
2023-11-10 805c8f189f744236d39e26f7776e2ac61ad203b7
src/main/resources/mapper/modules/MallSalesmanMapper.xml
@@ -161,6 +161,13 @@
        a.phone,
        d.name nickname,
        (
            select ifnull(sum(e.amount),0)
            from mall_money_flow e
            where e.flow_type = 1
            and e.type = 20
            and e.member_id = a.member_id
        ) rechargeSendAmount,
        (
            select count(b.id)
            from mall_order_info b
            <where>