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
159baf99
Commit
159baf99
authored
Aug 26, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复bug,处理费用异常后 订单未发送短信时也需要发送短信。 现场反馈NG2419927L未发送短信。
parent
8856a394
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
OrderExceptionServiceImpl.java
...der/service/orderException/OrderExceptionServiceImpl.java
+7
-1
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderException/OrderExceptionServiceImpl.java
View file @
159baf99
...
...
@@ -1420,7 +1420,13 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
private
void
sendRucangSmsAfterAllExceptionProcessed
(
OrderExceptionDO
orderExceptionDO
,
long
count
)
{
ArrayList
<
String
>
orderWarhouseInExceptionList
=
CollectionUtil
.
newArrayList
(
OrderExceptionEnum
.
ORDER_OTHER_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_SUPERFLUOUS_BOX_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_LACK_BOX_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_HEAVY_CARGO_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_BULKY_CARGO_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_DOC_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_CONSIGNOR_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_NO_QUOTE_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_PAY_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
NOT_CUSTOMER_SERVICE_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
GOODS_ADD_EXCEPTION
.
getKey
());
ArrayList
<
String
>
orderWarhouseInExceptionList
=
CollectionUtil
.
newArrayList
(
OrderExceptionEnum
.
ORDER_OTHER_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_SUPERFLUOUS_BOX_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_LACK_BOX_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_HEAVY_CARGO_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_BULKY_CARGO_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_DOC_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_CONSIGNOR_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_NO_QUOTE_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
ORDER_PAY_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
NOT_CUSTOMER_SERVICE_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
GOODS_ADD_EXCEPTION
.
getKey
(),
OrderExceptionEnum
.
FEE_EXCEPTION
.
getKey
());
//当异常已处理完,且刚才处理的是入仓产生的异常时 且未发送过入仓短信的 就需要发入仓短信了
if
(
orderWarhouseInExceptionList
.
stream
().
anyMatch
(
t
->
t
.
equals
(
orderExceptionDO
.
getOrderExceptionType
())))
{
...
...
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