xiaoyong931011
2023-07-26 0123a8451ee6cec9cee398919e0e68ad58974293
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>