xiaoyong931011
2022-09-15 a721f2949a80666751ed7390a9ecba97454f140e
src/main/resources/mapper/modules/MallTeamLeaderMapper.xml
@@ -33,7 +33,7 @@
        ) AS distance
        from mall_team_leader a
        <where>
            a.state = 1
            a.state = 1 and a.online_state = 1
            <if test="record.query != null and record.query != ''">
                and (a.name like CONCAT('%', CONCAT(#{record.query}, '%'))
                    or a.phone like CONCAT('%', CONCAT(#{record.query}, '%'))