xiaoyong931011
2021-05-28 7a32b2a2f2a78e28ef7065ade550bf9107dd7421
src/main/resources/mapper/otc/OtcMsgUserListDao.xml
@@ -15,12 +15,9 @@
        <where>
            <if test="record!=null">
                    a.member_id = #{record.memberId}
                <if test="record.nickname != null and record.nickname == ''">
                <if test="record.nickname != null and record.nickname != ''">
                    and b.name like concat('%',  #{record.nickname},'%')
                </if>
            </if>
            <if test="record!=null">
                a.member_id = #{record.memberId}
            </if>
        </where>
        order by a.create_time desc