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
769d94cf
Commit
769d94cf
authored
Sep 12, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充是否外部仓部分sql条件
parent
be0b6505
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+9
-1
OrderController.java
.../module/order/controller/admin/order/OrderController.java
+1
-1
No files found.
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
769d94cf
...
...
@@ -752,7 +752,9 @@
<if
test=
"query.productRecord != null"
>
AND o.`product_record` = #{query.productRecord}
</if>
<if
test=
"query.isExternalWarehouse != null"
>
AND o.`is_external_warehouse` = #{query.isExternalWarehouse}
</if>
<if
test=
"query.transportId != null"
>
AND o.`transport_id` = #{query.transportId}
</if>
...
...
@@ -1257,6 +1259,9 @@
<if
test=
"query.customerId != null"
>
AND o.`customer_id` = #{query.customerId}
</if>
<if
test=
"query.isExternalWarehouse != null"
>
AND o.`is_external_warehouse` = #{query.isExternalWarehouse}
</if>
<if
test=
"query.beginRucangTime != null and query.endRucangTime != null "
>
AND o.`rucang_time` between #{query.beginRucangTime} and #{query.endRucangTime}
</if>
...
...
@@ -2387,6 +2392,9 @@
<if
test=
"query.orderNo != null and query.orderNo != '' "
>
AND o.`order_no` like concat("%",concat(#{query.orderNo},"%"))
</if>
<if
test=
"query.isExternalWarehouse != null"
>
AND o.`is_external_warehouse` = #{query.isExternalWarehouse}
</if>
<if
test=
"query.orderIdList != null and query.orderIdList.size() != 0"
>
AND o.`order_id` in
<foreach
item=
'orderId'
index=
'index'
collection=
'query.orderIdList'
open=
'('
separator=
','
close=
')'
>
...
...
yudao-module-order/yudao-module-order-rest/src/main/java/cn/iocoder/yudao/module/order/controller/admin/order/OrderController.java
View file @
769d94cf
...
...
@@ -331,7 +331,7 @@ public class OrderController {
// @PreAuthorize("@ss.hasPermission('ecw:order:query')")
public
CommonResult
<
PageResult
<
OrderBackPageVO
>>
getOrderPage
(
OrderQueryVO
query
,
PageVO
page
)
{
query
.
setUserType
(
UserTypeEnum
.
ADMIN
.
getValue
());
PageResult
<
OrderBackPageVO
>
pageResult
=
orderQueryService
.
myO
rderPage
(
query
,
page
);
PageResult
<
OrderBackPageVO
>
pageResult
=
orderQueryService
.
o
rderPage
(
query
,
page
);
return
success
(
pageResult
);
}
...
...
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