中扬CRM客户关系管理系统
#
tqs
2022-10-11 8e21986572787b4280f6d9ec91f1d903edca4d95
src/main/resources/mapper/CstmrMapper.xml
@@ -62,7 +62,17 @@
            and mc.host_id = #{hostId}
        </if>
        <if test="condition != null and condition != ''">
            and mc.name like concat('%',#{condition},'%')
            and (
            mc.uuid like concat('%',#{condition},'%')
            or mc.name like concat('%',#{condition},'%')
            or mc.simple like concat('%',#{condition},'%')
            or mc.rela like concat('%',#{condition},'%')
            or mc.tel like concat('%',#{condition},'%')
            or mc.contacts like concat('%',#{condition},'%')
            or mc.remarks like concat('%',#{condition},'%')
            or mc.director like concat('%',#{condition},'%')
            or mc.addr like concat('%',#{condition},'%')
            )
        </if>
        ORDER BY mc.create_time DESC
    </select>