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
67a3e3bf
Commit
67a3e3bf
authored
Sep 11, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复订单查询相关sql
parent
56002030
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
28 deletions
+26
-28
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+26
-28
No files found.
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
67a3e3bf
...
...
@@ -434,10 +434,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''),IFNULL(o.`parent_number`,''),IFNULL(o.`initial_parent_order_no`,''),
...
...
@@ -963,10 +963,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''),IFNULL(o.`parent_number`,''),IFNULL(o.`initial_parent_order_no`,''),
...
...
@@ -1297,10 +1297,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''),IFNULL(o.`parent_number`,''),IFNULL(o.`initial_parent_order_no`,''),
...
...
@@ -2479,10 +2479,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''), IFNULL(o.`old_numbers`,'')
...
...
@@ -2641,7 +2641,7 @@
</foreach>
</if>
<if
test=
"query.airShipmentList.size() > 1"
>
(1!=1
AND
(1!=1
<foreach
item=
'airShipment'
index=
"index"
collection=
'query.airShipmentList'
>
<choose>
<when
test=
"airShipment == 1"
>
...
...
@@ -2784,14 +2784,14 @@
</if>
<if
test=
"query.statusList != null and query.statusList.size()>0"
>
<if
test=
"query.statusList
!= null and query.statusList
.size()==1 "
>
<if
test=
"query.statusList.size()==1 "
>
AND o.`status` =
<foreach
item=
'status'
index=
"index"
collection=
'query.statusList'
>
#{status}
</foreach>
</if>
<if
test=
"
query.statusList != null and query.statusList != ''
and query.statusList.size()>1 "
>
<if
test=
"and query.statusList.size()>1 "
>
AND o.`status` in
<foreach
item=
'status'
index=
"index"
collection=
'query.statusList'
open=
'('
separator=
','
close=
')'
>
#{status}
...
...
@@ -2883,14 +2883,14 @@
</if>
<if
test=
"query.shipmentStateList != null and query.shipmentStateList.size()>0"
>
<if
test=
"
query.shipmentStateList != null and
query.shipmentStateList.size()==1 "
>
<if
test=
" query.shipmentStateList.size()==1 "
>
AND o.`shipment_State` =
<foreach
item=
'shipmentState'
index=
"index"
collection=
'query.shipmentStateList'
>
#{shipmentState}
</foreach>
</if>
<if
test=
"
query.shipmentStateList != null and
query.shipmentStateList.size()>1 "
>
<if
test=
" query.shipmentStateList.size()>1 "
>
AND o.`shipment_State` in
<foreach
item=
'shipmentState'
index=
"index"
collection=
'query.shipmentStateList'
open=
'('
separator=
','
close=
')'
>
#{shipmentState}
...
...
@@ -3348,10 +3348,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''), IFNULL(o.`old_numbers`,'')
...
...
@@ -3586,7 +3586,7 @@
</foreach>
</if>
<if
test=
"query.airShipmentList.size() > 1"
>
(1!=1
AND
(1!=1
<foreach
item=
'airShipment'
index=
"index"
collection=
'query.airShipmentList'
>
<choose>
<when
test=
"airShipment == 1"
>
...
...
@@ -4208,10 +4208,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''), IFNULL(o.`old_numbers`,'')
...
...
@@ -5716,10 +5716,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''), IFNULL(o.`old_numbers`,'')
...
...
@@ -6205,7 +6205,6 @@
<if
test=
"query.auditTypeList != null and query.auditTypeList.size()==1 "
>
<foreach
item=
'auditType'
index=
"index"
collection=
'query.auditTypeList'
>
<choose>
<when
test=
"auditType != 0"
>
<choose>
...
...
@@ -6350,10 +6349,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''), IFNULL(o.`old_numbers`,'')
...
...
@@ -6651,14 +6650,13 @@
</if>
<if
test=
"query.shipmentStateList != null and query.shipmentStateList.size()>0"
>
<if
test=
"query.shipmentStateList
!= null and query.shipmentStateList
.size()==1 "
>
<if
test=
"query.shipmentStateList.size()==1 "
>
AND o.`shipment_State` =
<foreach
item=
'shipmentState'
index=
"index"
collection=
'query.shipmentStateList'
>
#{shipmentState}
</foreach>
</if>
<if
test=
"query.shipmentStateList != null and query.shipmentStateList.size()>1 "
>
<if
test=
" query.shipmentStateList.size()>1 "
>
AND o.`shipment_State` in
<foreach
item=
'shipmentState'
index=
"index"
collection=
'query.shipmentStateList'
open=
'('
separator=
','
close=
')'
>
#{shipmentState}
...
...
@@ -6832,10 +6830,10 @@
AND o.release_ratio
<![CDATA[ <= ]]>
#{query.leReleaseRatio}
</if>
<if
test=
"query.geReleaseRatio != null "
>
AND o.release_ratio
<![CDATA[ >= ]]>
#{geReleaseRatio}
AND o.release_ratio
<![CDATA[ >= ]]>
#{
query.
geReleaseRatio}
</if>
<if
test=
"query.eqReleaseRatio != null "
>
AND o.release_ratio = #{eqReleaseRatio}
AND o.release_ratio = #{
query.
eqReleaseRatio}
</if>
<if
test=
"query.searchKey != null and query.searchKey != '' "
>
AND concat(IFNULL(o.`order_no`,''), IFNULL(o.`old_numbers`,'')
...
...
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