| | |
| | | and mc.host_id = #{hostId} |
| | | </if> |
| | | <if test="condition != null and condition != ''"> |
| | | and mc.name like concat('%',#{condition},'%') |
| | | and ( |
| | | and mc.uuid like concat('%',#{condition},'%') |
| | | and mc.name like concat('%',#{condition},'%') |
| | | and mc.simple like concat('%',#{condition},'%') |
| | | and mc.rela like concat('%',#{condition},'%') |
| | | and mc.tel like concat('%',#{condition},'%') |
| | | and mc.contacts like concat('%',#{condition},'%') |
| | | and mc.remarks like concat('%',#{condition},'%') |
| | | and mc.director like concat('%',#{condition},'%') |
| | | and mc.addr like concat('%',#{condition},'%') |
| | | ) |
| | | </if> |
| | | ORDER BY mc.create_time DESC |
| | | </select> |