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
1e0ae5f6
Commit
1e0ae5f6
authored
Sep 03, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql修复
parent
98a18787
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+20
-20
No files found.
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
1e0ae5f6
...
...
@@ -725,13 +725,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()==1 "
>
AND (o.`salesman_id` =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
...
...
@@ -739,13 +739,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>1 "
>
AND (o.`salesman_id` in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
)
...
...
@@ -1727,13 +1727,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()==1 "
>
AND (o.`salesman_id` =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
...
...
@@ -1741,13 +1741,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>1 "
>
AND (o.`salesman_id` in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
)
...
...
@@ -2481,13 +2481,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()==1 "
>
AND (o.`salesman_id` =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
...
...
@@ -2495,13 +2495,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>1 "
>
AND (o.`salesman_id` in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
)
...
...
@@ -3169,13 +3169,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()==1 "
>
AND (o.`salesman_id` =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
...
...
@@ -3183,13 +3183,13 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>1 "
>
AND (o.`salesman_id` in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
)
...
...
@@ -4315,24 +4315,24 @@
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()==1 "
>
AND (o.`salesman_id` =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
</if>
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>1 "
>
AND (o.`salesman_id` in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
</if>
...
...
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