Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
ee83b6ba
Commit
ee83b6ba
authored
Jul 23, 2024
by
zhaobiyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户会员筛选字段
parent
35fb74da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
IndirectCustomerMapper.xml
...main/resources/mapper/customer/IndirectCustomerMapper.xml
+19
-7
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/resources/mapper/customer/IndirectCustomerMapper.xml
View file @
ee83b6ba
...
...
@@ -49,7 +49,11 @@
concat( c.area_code, c.phone_new, '' ) AS default_contact_phone,
c.email AS default_email,
agent.NAME AS agent_customer_name,
su.nickname AS customer_service_name
su.nickname AS customer_service_name,
mu.code as member_code,
mu.nickname as member_nickname,
mu.mobile as member_mobile,
mu.area_code as member_area_code
FROM
ecw_indirect_customer a
LEFT JOIN ecw_indirect_customer_contacts c ON a.id = c.customer_id
...
...
@@ -154,16 +158,16 @@
</if>
<!-- 会员信息 -->
<if
test=
"query.memberCode != null and query.memberCode != '' "
>
AND
mu.
code like concat('%',#{query.memberCode},'%')
AND
contact.member_
code like concat('%',#{query.memberCode},'%')
</if>
<if
test=
"query.memberName != null and query.memberName != '' "
>
AND
mu.
nickname like concat('%',#{query.memberName},'%')
AND
contact.member_
nickname like concat('%',#{query.memberName},'%')
</if>
<if
test=
"query.memberMobile != null and query.memberMobile != '' "
>
AND
mu.
mobile like concat('%',#{query.memberMobile},'%')
AND
contact.member_
mobile like concat('%',#{query.memberMobile},'%')
</if>
<if
test=
"query.memberAreaCode != null and query.memberAreaCode != '' "
>
AND
mu.
area_code like concat('%',#{query.memberAreaCode},'%')
AND
contact.member_
area_code like concat('%',#{query.memberAreaCode},'%')
</if>
</sql>
<select
id=
"getOpenSeaCustomerPageReqCount"
resultType=
"java.lang.Long"
...
...
@@ -178,7 +182,11 @@
concat( c.area_code, c.phone_new, '' ) AS default_contact_phone,
c.email AS default_email,
agent.NAME AS agent_customer_name,
su.nickname AS customer_service_name
su.nickname AS customer_service_name,
mu.code as member_code,
mu.nickname as member_nickname,
mu.mobile as member_mobile,
mu.area_code as member_area_code
FROM
ecw_indirect_customer a
LEFT JOIN ecw_indirect_customer_contacts c ON a.id = c.customer_id
...
...
@@ -206,7 +214,11 @@
concat( c.area_code, c.phone_new, '' ) AS default_contact_phone,
c.email AS default_email,
agent.NAME AS agent_customer_name,
su.nickname AS customer_service_name
su.nickname AS customer_service_name,
mu.code as member_code,
mu.nickname as member_nickname,
mu.mobile as member_mobile,
mu.area_code as member_area_code
FROM
ecw_indirect_customer a
LEFT JOIN ecw_indirect_customer_contacts c ON a.id = c.customer_id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment