xiaoyong931011
2023-01-06 f07c7f23ede5e6cc3c2dae4715a3f0ccf879cbc8
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -215,7 +215,7 @@
            FROM
                mall_member e
                    INNER JOIN mall_order_info b ON e.id = b.member_id
                    AND b. STATUS = 4
                    AND b.STATUS = 4
                    and b.comment_state = 2
            WHERE
                e.invite_id = #{inviteId}
@@ -364,7 +364,7 @@
            and b.invite_id=#{inviteId}
        </if>
        <if test="type == 2">
            and find_in_set(#{inviteId}, b.referrer_ids)
            and (find_in_set(#{inviteId}, b.referrer_ids) or b.invite_id=#{inviteId})
        </if>
    </select>