This commit is contained in:
linfso 2024-04-27 09:20:29 +08:00
parent 3bbda5b804
commit 8c7518e316

View File

@ -89,7 +89,7 @@
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
<if test="searchValue != null and searchValue != ''">
and ( name like concat(#{name}, '%') or phone like concat(#{phone}, '%') or company like concat(#{company}, '%') )
and ( name like concat(#{searchValue}, '%') or phone like concat(#{searchValue}, '%') or company like concat(#{searchValue}, '%') )
</if>
</where>