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
7df3a57a
Commit
7df3a57a
authored
Sep 10, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
目的国查询sql修复
parent
02c8be92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+10
-10
No files found.
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
7df3a57a
...
...
@@ -382,10 +382,10 @@
</foreach>
</if>
</if>
<if
test=
"query.objectiveId
!= null and query.objectiveId.size() !=
0"
>
<if
test=
"query.objectiveId
s != null and query.objectiveIds.size() >
0"
>
<if
test=
"query.objectiveIds != null and query.objectiveIds.size()==1 "
>
AND ob.`objective_id` =
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId'
>
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId
s
'
>
#{objectiveId}
</foreach>
</if>
...
...
@@ -986,9 +986,9 @@
or pb.`title_zh` = #{query.notEqProdKey} or pb.`title_en` = #{query.notEqProdKey})
))
</if>
<!-- <if test="query.objectiveId
!= null and query.objectiveId.size() !=
0">-->
<!-- <if test="query.objectiveId
s != null and query.objectiveIds.size() >
0">-->
<!-- AND ob.`objective_id` in-->
<!-- <foreach item='orderId' index='index' collection='query.objectiveId' open='(' separator=',' close=')'>-->
<!-- <foreach item='orderId' index='index' collection='query.objectiveId
s
' open='(' separator=',' close=')'>-->
<!-- #{orderId}-->
<!-- </foreach>-->
...
...
@@ -1927,10 +1927,10 @@
</if>
</if>
<if
test=
"query.objectiveId
!= null and query.objectiveId
.size() != 0"
>
<if
test=
"query.objectiveId
s != null and query.objectiveIds
.size() != 0"
>
<if
test=
"query.objectiveIds != null and query.objectiveIds.size()==1 "
>
AND ob.`objective_id` =
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId'
>
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId
s
'
>
#{objectiveId}
</foreach>
</if>
...
...
@@ -2541,10 +2541,10 @@
</if>
</if>
<if
test=
"query.objectiveId
!= null and query.objectiveId
.size() != 0"
>
<if
test=
"query.objectiveId
s != null and query.objectiveIds
.size() != 0"
>
<if
test=
"query.objectiveIds != null and query.objectiveIds.size()==1 "
>
AND ob.`objective_id` =
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId'
>
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId
s
'
>
#{objectiveId}
</foreach>
</if>
...
...
@@ -3296,10 +3296,10 @@
</foreach>
</if>
</if>
<if
test=
"query.objectiveId
!= null and query.objectiveId.size() !=
0"
>
<if
test=
"query.objectiveId
s != null and query.objectiveIds.size() >
0"
>
<if
test=
"query.objectiveIds != null and query.objectiveIds.size()==1 "
>
AND ob.`objective_id` =
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId'
>
<foreach
item=
'objectiveId'
index=
'index'
collection=
'query.objectiveId
s
'
>
#{objectiveId}
</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