| | |
| | | </if> |
| | | <if test="condition != null and 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},'%') |
| | | 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 |