Administrator
2025-05-20 d73ed4025c2be4fa15b22467a29a2a62cdf4b6a3
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -512,9 +512,10 @@
                SELECT
                count(c.id)
                FROM
                mall_achieve_record c
                mall_order_info c
                WHERE
                a.id = c.member_id
                    and c.status = 4
                ),
                0
            ) orderCnt,
@@ -523,12 +524,13 @@
                SELECT
                sum(b.amount)
                FROM
                mall_achieve_record b
                mall_order_info b
                WHERE
                a.id = b.member_id
                    and b.status = 4
                ),
                0
            ) amount
            ) totalAmount
        FROM
            mall_member a
        <where>