This commit is contained in:
linfso 2024-05-16 08:23:12 +08:00
parent 0f9772ca0a
commit e74b1ab95b

View File

@ -65,10 +65,10 @@
<if test="shortName != null and shortName != ''"> and short_name like concat('%', #{shortName}, '%')</if>
<if test="alias != null and alias != ''"> and alias like concat('%', #{alias}, '%')</if>
<if test="addressType != null and addressType != ''"> and address_type = #{addressType}</if>
<if test="country != null and country != ''"> and country like concat('%', #{country}, '%')</if>
<if test="country != null and country != ''"> and country=#{country}</if>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
<if test="province != null and province != ''"> and province like concat('%', #{province}, '%')</if>
<if test="province != null and province != ''"> and province =#{province}</if>
<if test="city != null and city != ''"> and city like concat('%', #{city}, '%')</if>
<if test="county != null and county != ''"> and county like concat('%', #{county}, '%')</if>
<if test="town != null and town != ''"> and town like concat('%', #{town}, '%')</if>