This commit is contained in:
linfso 2024-12-14 17:54:23 +08:00
parent 8b84212ad9
commit 3416296f0c
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -583,7 +583,6 @@
and a.create_time <![CDATA[ <= ]]> #{params.endCreateTime}
</if>
</where>