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
d8081fc4
Commit
d8081fc4
authored
Sep 11, 2024
by
chenjiuping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常订单查询 添加商品类开和增值服务
parent
e33dfd53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
OrderExceptionServiceImpl.java
...der/service/orderException/OrderExceptionServiceImpl.java
+14
-0
OrderExceptionQueryVO.java
...module/order/vo/orderException/OrderExceptionQueryVO.java
+6
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderException/OrderExceptionServiceImpl.java
View file @
d8081fc4
...
...
@@ -489,6 +489,11 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
//跟进客服
queryWrapper
.
in
(
null
!=
reqVo
.
getSalesmanIds
(),
"su.customer_service_id"
,
reqVo
.
getSalesmanIds
());
//增值服务
queryWrapper
.
in
(
null
!=
reqVo
.
getTypes
(),
"a.type"
,
reqVo
.
getTypes
());
//商品类型
queryWrapper
.
in
(
null
!=
reqVo
.
getGoodsTypes
(),
"m.prod_type"
,
reqVo
.
getGoodsTypes
());
queryWrapper
.
orderByDesc
(
"e.id"
);
return
orderExceptionMapper
.
getOrderExceptionExcelList
(
queryWrapper
,
reqVo
.
getOrderExceptionType
(),
startTime
,
endTime
);
...
...
@@ -2593,6 +2598,10 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
//跟进客服
queryWrapper
.
in
(
null
!=
reqVo
.
getSalesmanIds
(),
"su.customer_service_id"
,
reqVo
.
getSalesmanIds
());
//增值服务
queryWrapper
.
in
(
null
!=
reqVo
.
getTypes
(),
"a.type"
,
reqVo
.
getTypes
());
//商品类型
queryWrapper
.
in
(
null
!=
reqVo
.
getGoodsTypes
(),
"m.prod_type"
,
reqVo
.
getGoodsTypes
());
queryWrapper
.
orderByDesc
(
"b.id"
);
...
...
@@ -2712,6 +2721,11 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
//跟进客服
queryWrapper
.
in
(
null
!=
reqVo
.
getSalesmanIds
(),
"su.customer_service_id"
,
reqVo
.
getSalesmanIds
());
//增值服务
queryWrapper
.
in
(
null
!=
reqVo
.
getTypes
(),
"a.type"
,
reqVo
.
getTypes
());
//商品类型
queryWrapper
.
in
(
null
!=
reqVo
.
getGoodsTypes
(),
"m.prod_type"
,
reqVo
.
getGoodsTypes
());
StatisticsOrderVO
vo
=
orderExceptionMapper
.
statisticsExceptionOrder
(
queryWrapper
,
reqVo
.
getOrderExceptionType
(),
startTime
,
endTime
);
if
(
Objects
.
nonNull
(
vo
))
{
vo
.
setTotalVolume
(
new
BigDecimal
(
vo
.
getTotalVolume
()).
setScale
(
2
,
RoundingMode
.
HALF_UP
).
toString
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderException/OrderExceptionQueryVO.java
View file @
d8081fc4
...
...
@@ -112,4 +112,10 @@ public class OrderExceptionQueryVO {
@ApiModelProperty
(
value
=
"目的城市"
)
private
List
<
Long
>
objectiveIds
;
@ApiModelProperty
(
value
=
"增值服务"
)
private
List
<
Long
>
types
;
@ApiModelProperty
(
value
=
"商品类型"
)
private
List
<
Long
>
goodsTypes
;
}
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