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
1b05d57f
Commit
1b05d57f
authored
Mar 13, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求128后台-集运-包裹列表-单个预报,客户联系人关联导致数据量不对
parent
bf805fb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ConsMapper.xml
...-order-core/src/main/resources/mapper/cons/ConsMapper.xml
+5
-1
No files found.
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/cons/ConsMapper.xml
View file @
1b05d57f
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
o.channel_id
o.channel_id
FROM ecw_cons cons
FROM ecw_cons cons
left join ecw_customer ec on cons.customer_id = ec.id
left join ecw_customer ec on cons.customer_id = ec.id
left join ecw_customer_contacts eccs on ec.id = eccs.customer_id
left join ecw_warehouse_line el on cons.warehouse_line_id = el.id
left join ecw_warehouse_line el on cons.warehouse_line_id = el.id
left join ecw_warehouse ew_start ON ew_start.id = el.start_warehouse_id
left join ecw_warehouse ew_start ON ew_start.id = el.start_warehouse_id
left join ecw_warehouse ew_dest ON ew_dest.id = el.dest_warehouse_id
left join ecw_warehouse ew_dest ON ew_dest.id = el.dest_warehouse_id
...
@@ -62,8 +61,13 @@
...
@@ -62,8 +61,13 @@
AND (cons.`express_no` is not null and cons.`express_no` != '' and cons.`express_no` != #{query.eqNumberKey})
AND (cons.`express_no` is not null and cons.`express_no` != '' and cons.`express_no` != #{query.eqNumberKey})
</if>
</if>
<if
test=
"query.customerKey != null and query.customerKey != '' "
>
<if
test=
"query.customerKey != null and query.customerKey != '' "
>
AND EXISTS (
SELECT 1
FROM ecw_customer_contacts eccs
WHERE eccs.customer_id = ec.id
AND concat(IFNULL(cons.`customer_number`,''), IFNULL(eccs.`phone_new`,'')) like
AND concat(IFNULL(cons.`customer_number`,''), IFNULL(eccs.`phone_new`,'')) like
concat("%",concat(#{query.customerKey},"%"))
concat("%",concat(#{query.customerKey},"%"))
)
</if>
</if>
<if
test=
"query.customerName != null and query.customerName != '' "
>
<if
test=
"query.customerName != null and query.customerName != '' "
>
AND ec.name like concat("%",concat(#{query.customerName},"%"))
AND ec.name like concat("%",concat(#{query.customerName},"%"))
...
...
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