diff --git a/emis-biz/src/main/resources/mapper/EmisCustomerAddressMapper.xml b/emis-biz/src/main/resources/mapper/EmisCustomerAddressMapper.xml index cd12388f6..e60c1a2ce 100644 --- a/emis-biz/src/main/resources/mapper/EmisCustomerAddressMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCustomerAddressMapper.xml @@ -48,7 +48,7 @@ and customer_code =#{customerCode} and short_name like concat('%', #{shortName}, '%') and alias like concat('%', #{alias}, '%') - and address_type like concat('%', #{addressType}, '%') + and address_type=#{addressType} and country like concat('%', #{country}, '%') and name like concat('%', #{name}, '%') and phone like concat('%', #{phone}, '%')