This commit is contained in:
linfso 2024-07-29 13:07:50 +08:00
parent 24de0c53cf
commit 51e181cce5

View File

@ -307,7 +307,12 @@
address as address
from emis_site a
where a.del_flag='0' and bl_warehouse_in='1'
<if test="searchValue != null and searchValue != ''"> and site_name like concat('%', #{searchValue}, '%')</if>
<if test="searchValue != null and searchValue != ''">
and site_name like concat('%', #{searchValue}, '%')
</if>
<if test="transTypeId != null and transTypeId != ''">
and FIND_IN_SET(`trans_type_id`,#{transTypeId})
</if>
</select>