From 55c764524903c9869175679acd5133aa3584ef12 Mon Sep 17 00:00:00 2001 From: linfso Date: Sun, 26 May 2024 07:14:20 +0800 Subject: [PATCH] md --- .../mapper/EmisCustomerUserMapper.xml | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml b/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml index be48f0102..6744deaf6 100644 --- a/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml @@ -118,14 +118,14 @@ and contact like concat('%', #{contact}, '%') and phone like concat('%', #{phone}, '%') and mobile like concat('%', #{mobile}, '%') - and customer_type like concat('%', #{customerType}, '%') - and settled_type like concat('%', #{settledType}, '%') - and user_type like concat('%', #{userType}, '%') + and customer_type=#{customerType} + and settled_type=#{settledType} + and user_type=#{userType} and company like concat('%', #{company}, '%') and lic_no like concat('%', #{licNo}, '%') and dept_id like concat('%', #{deptId}, '%') and avatar like concat('%', #{avatar}, '%') - and sex like concat('%', #{sex}, '%') + and sex= #{sex} and invitation_info like concat('%', #{invitationInfo}, '%') and login_ip like concat('%', #{loginIp}, '%') and login_date like concat('%', #{loginDate}, '%') @@ -134,14 +134,13 @@ and openid like concat('%', #{openid}, '%') and monthly_pay_code like concat('%', #{monthlyPayCode}, '%') and user_name like concat('%', #{userName}, '%') - and password like concat('%', #{password}, '%') and biz_site like concat('%', #{bizSite}, '%') and biz_site_name like concat('%', #{bizSiteName}, '%') - and country like concat('%', #{country}, '%') - and province like concat('%', #{province}, '%') - and city like concat('%', #{city}, '%') - and county like concat('%', #{county}, '%') - and town like concat('%', #{town}, '%') + and country=#{country} + and province=#{province} + and city=#{city} + and county=#{county} + and town=#{town} and address like concat('%', #{address}, '%') and email like concat('%', #{email}, '%') and post_code like concat('%', #{postCode}, '%') @@ -150,11 +149,11 @@ and payee like concat('%', #{payee}, '%') and salesmen like concat('%', #{salesmen}, '%') and data_from like concat('%', #{dataFrom}, '%') - and bl_open_oms like concat('%', #{blOpenOms}, '%') - and bl_sms like concat('%', #{blSms}, '%') + and bl_open_oms=#{blOpenOms} + and bl_sms=#{blSms} and op_emp_code like concat('%', #{opEmpCode}, '%') and first_signing_day like concat('%', #{firstSigningDay}, '%') - and status like concat('%', #{status}, '%') + and status=#{status} and order_num like concat('%', #{orderNum}, '%') and remark like concat('%', #{remark}, '%') and del_flag like concat('%', #{delFlag}, '%')