This commit is contained in:
linfso 2024-05-15 20:35:32 +08:00
parent 031abf5589
commit 2d0ff2b8f0

View File

@ -100,21 +100,22 @@
<include refid="selectEmisCustomerUserVo"/>
<where>
del_flag='0'
<if test="ownerSite != null and ownerSite != ''">
<if test="ownerSite != null and ownerSite != ''">
and owner_site=#{ownerSite}
</if>
<if test="id != null "> and id = #{id}</if>
<if test="customerCode != null and customerCode != ''"> and customer_code like concat('%', #{customerCode}, '%')</if>
<if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
<if test="customerNameEn != null and customerNameEn != ''"> and customer_name_en like concat('%', #{customerNameEn}, '%')</if>
<if test="simpleName != null and simpleName != ''"> and simple_name like concat('%', #{simpleName}, '%')</if>
<if test="contact != null and contact != ''"> and contact like concat('%', #{contact}, '%')</if>
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
<if test="mobile != null and mobile != ''"> and mobile like concat('%', #{mobile}, '%')</if>
<if test="customerType != null and customerType != ''"> and customer_type like concat('%', #{customerType}, '%')</if>
<if test="settledType != null and settledType != ''"> and settled_type like concat('%', #{settledType}, '%')</if>
<if test="userType != null and userType != ''"> and user_type like concat('%', #{userType}, '%')</if>
<if test="company != null and company != ''"> and company like concat('%', #{company}, '%')</if>
<if test="licNo != null and licNo != ''"> and lic_no like concat('%', #{licNo}, '%')</if>
<if test="deptId != null and deptId != ''"> and dept_id like concat('%', #{deptId}, '%')</if>
<if test="avatar != null and avatar != ''"> and avatar like concat('%', #{avatar}, '%')</if>
<if test="sex != null and sex != ''"> and sex like concat('%', #{sex}, '%')</if>
@ -127,7 +128,6 @@
<if test="monthlyPayCode != null and monthlyPayCode != ''"> and monthly_pay_code like concat('%', #{monthlyPayCode}, '%')</if>
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
<if test="password != null and password != ''"> and password like concat('%', #{password}, '%')</if>
<!-- <if test="ownerSite != null and ownerSite != ''"> and owner_site like concat('%', #{ownerSite}, '%')</if>-->
<if test="bizSite != null and bizSite != ''"> and biz_site like concat('%', #{bizSite}, '%')</if>
<if test="bizSiteName != null and bizSiteName != ''"> and biz_site_name like concat('%', #{bizSiteName}, '%')</if>
<if test="country != null and country != ''"> and country like concat('%', #{country}, '%')</if>
@ -137,13 +137,7 @@
<if test="town != null and town != ''"> and town like concat('%', #{town}, '%')</if>
<if test="address != null and address != ''"> and address like concat('%', #{address}, '%')</if>
<if test="email != null and email != ''"> and email like concat('%', #{email}, '%')</if>
<if test="sendCountry != null and sendCountry != ''"> and send_country like concat('%', #{sendCountry}, '%')</if>
<if test="sendProvince != null and sendProvince != ''"> and send_province like concat('%', #{sendProvince}, '%')</if>
<if test="sendCity != null and sendCity != ''"> and send_city like concat('%', #{sendCity}, '%')</if>
<if test="sendCounty != null and sendCounty != ''"> and send_county like concat('%', #{sendCounty}, '%')</if>
<if test="sendTown != null and sendTown != ''"> and send_town like concat('%', #{sendTown}, '%')</if>
<if test="postCode != null and postCode != ''"> and post_code like concat('%', #{postCode}, '%')</if>
<if test="status != null and status != ''"> and status like concat('%', #{status}, '%')</if>
<if test="realName != null and realName != ''"> and real_name like concat('%', #{realName}, '%')</if>
<if test="idNo != null and idNo != ''"> and id_no like concat('%', #{idNo}, '%')</if>
<if test="payee != null and payee != ''"> and payee like concat('%', #{payee}, '%')</if>
@ -152,6 +146,8 @@
<if test="blOpenOms != null and blOpenOms != ''"> and bl_open_oms like concat('%', #{blOpenOms}, '%')</if>
<if test="blSms != null and blSms != ''"> and bl_sms like concat('%', #{blSms}, '%')</if>
<if test="opEmpCode != null and opEmpCode != ''"> and op_emp_code like concat('%', #{opEmpCode}, '%')</if>
<if test="firstSigningDay != null and firstSigningDay != ''"> and first_signing_day like concat('%', #{firstSigningDay}, '%')</if>
<if test="status != null and status != ''"> and status like concat('%', #{status}, '%')</if>
<if test="orderNum != null and orderNum != ''"> and order_num like concat('%', #{orderNum}, '%')</if>
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>