md
This commit is contained in:
parent
0eb47e64a9
commit
07890ec6d1
@ -84,12 +84,13 @@
|
||||
select id, customer_code, customer_name, customer_name_en, simple_name, contact, phone, mobile, customer_type, settled_type, user_type, company, lic_no, dept_id, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, biz_site, biz_site_name, country, province, city, county, town, address, email, post_code, real_name, id_no, payee, salesmen, data_from, bl_open_oms, bl_sms, op_emp_code, first_signing_day, status, order_num, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_customer_user
|
||||
</sql>
|
||||
|
||||
<!-- or FIND_IN_SET(#{ownerSite},biz_site)-->
|
||||
<select id="selectEmisCustomerUserList" parameterType="EmisCustomerUser" resultMap="EmisCustomerUserResult">
|
||||
<include refid="selectEmisCustomerUserVo"/>
|
||||
<where>
|
||||
del_flag='0'
|
||||
<if test="ownerSite != null and ownerSite != ''">
|
||||
and ( owner_site=#{ownerSite} or FIND_IN_SET(#{ownerSite},biz_site) )
|
||||
and ( owner_site=#{ownerSite} )
|
||||
</if>
|
||||
|
||||
<if test="custName != null and custName != ''"> and customer_name like concat('%', #{custName}, '%')</if>
|
||||
@ -119,7 +120,7 @@
|
||||
<if test="openid != null and openid != ''"> and openid like concat('%', #{openid}, '%')</if>
|
||||
<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="bizSite != null and bizSite != ''"> and biz_site like concat('%', #{bizSite}, '%')</if>
|
||||
<if test="bizSite != null and bizSite != ''"> and FIND_IN_SET(#{bizSite},biz_site)</if>
|
||||
<if test="bizSiteName != null and bizSiteName != ''"> and biz_site_name like concat('%', #{bizSiteName}, '%')</if>
|
||||
<if test="country != null and country != ''"> and country=#{country}</if>
|
||||
<if test="province != null and province != ''"> and province=#{province}</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user