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
4bb44379
Commit
4bb44379
authored
Mar 02, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量加价页面出货单订单列表查询业务补充查询参数
parent
ac021d00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
OrderQueryVO.java
.../cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
+3
-0
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+18
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
View file @
4bb44379
...
...
@@ -661,6 +661,9 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"付款人: 1 发货人 2 收货人 3 自定义"
)
private
List
<
Integer
>
draweeList
;
@ApiModelProperty
(
value
=
"是否特价"
)
private
Boolean
specialPriceType
;
// @ApiModelProperty(value = "动态查询订单异常状态(字典 order_abnormal_state)")
// private List<Integer> dynamicAbnormalStateList;
//
...
...
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
4bb44379
...
...
@@ -3809,6 +3809,24 @@
<if
test=
"query.isNeat == false "
>
AND o.sum_num
<![CDATA[ < ]]>
o.cost->>'$.totalNum'
</if>
<if
test=
"query.specialPriceType != null and query.specialPriceType == false"
>
item.getSpecialPriceType() || item.getSplitCustomPriceType() || item.getSpecialCommission() || item.getChannelManualPricing()
AND o.order_id not in(
select
it.order_id
from ecw_order_item it
where it.order_id = o.order_id
and (it.special_price_type = true or it.split_custom_price_type = true or it.special_commission = true or it.channel_manual_pricing = true))
</if>
<if
test=
"query.specialPriceType != null and query.specialPriceType == true"
>
item.getSpecialPriceType() || item.getSplitCustomPriceType() || item.getSpecialCommission() || item.getChannelManualPricing()
AND o.order_id in(
select
it.order_id
from ecw_order_item it
where it.order_id = o.order_id
and (it.special_price_type = true or it.split_custom_price_type = true or it.special_commission = true or it.channel_manual_pricing = true))
</if>
<if
test=
"query.airShipmentList != null and query.airShipmentList.size() > 0"
>
<if
test=
"query.airShipmentList.size() == 1"
>
<foreach
item=
'airShipment'
index=
"index"
collection=
'query.airShipmentList'
>
...
...
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