xiaoyong931011
2023-01-06 8b92a1b10e9d919fd8673ece41722bb966babbb3
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -151,7 +151,7 @@
        FROM mall_member m
        left join data_dictionary_custom a on a.description = m.level
        <where>
            and m.level != '代理'
            and m.level != 'VIP'
            <if test="record != null" >
                <if test="record.name!=null and record.name!=''">
                    and m.name like concat('%',  #{record.name},'%')
@@ -358,6 +358,7 @@
             inner join mall_member b on a.member_id=b.ID
        where 1=1
        and a.status = 4
        and a.comment_state = 2
        <if test="type == 1">
            and b.invite_id=#{inviteId}
        </if>