Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
0caf1e59
Commit
0caf1e59
authored
Oct 08, 2024
by
刘继明
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/jimmy/20240914-新增诺心client' into qa
parents
33959b54
d58fa15e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
order-management/src/main/java/cn/freemud/management/enums/DeliveryStatus.java
+1
-0
order-management/src/main/java/cn/freemud/management/service/handle/DeliveryHandle.java
+2
-1
No files found.
order-management/src/main/java/cn/freemud/management/enums/DeliveryStatus.java
View file @
0caf1e59
...
@@ -19,6 +19,7 @@ import java.util.Objects;
...
@@ -19,6 +19,7 @@ import java.util.Objects;
*/
*/
public
enum
DeliveryStatus
{
public
enum
DeliveryStatus
{
UNCREATE
(-
2
,
"未创建运单"
),
WATINGORDER
(
0
,
"待接单"
),
WATINGORDER
(
0
,
"待接单"
),
SYSTEMGETORDER
(
1
,
"系统接单"
),
SYSTEMGETORDER
(
1
,
"系统接单"
),
ALLOTRIDER
(
2
,
"分配骑手"
),
ALLOTRIDER
(
2
,
"分配骑手"
),
...
...
order-management/src/main/java/cn/freemud/management/service/handle/DeliveryHandle.java
View file @
0caf1e59
...
@@ -133,7 +133,8 @@ public class DeliveryHandle {
...
@@ -133,7 +133,8 @@ public class DeliveryHandle {
//运单异常或取消时,无需作废三方配送运单
//运单异常或取消时,无需作废三方配送运单
if
(
ObjectUtils
.
equals
(
DeliveryStatus
.
DELIVERYERROR
.
getCode
(),
deliverStatus
)
if
(
ObjectUtils
.
equals
(
DeliveryStatus
.
DELIVERYERROR
.
getCode
(),
deliverStatus
)
||
ObjectUtils
.
equals
(
DeliveryStatus
.
DELIVERYCANCEL
.
getCode
(),
deliverStatus
)
||
ObjectUtils
.
equals
(
DeliveryStatus
.
DELIVERYCANCEL
.
getCode
(),
deliverStatus
)
||
ObjectUtils
.
equals
(
DeliveryStatus
.
DELIVERYARRIVED
.
getCode
(),
deliverStatus
))
{
||
ObjectUtils
.
equals
(
DeliveryStatus
.
DELIVERYARRIVED
.
getCode
(),
deliverStatus
)
||
ObjectUtils
.
equals
(
DeliveryStatus
.
UNCREATE
.
getCode
(),
deliverStatus
))
{
return
ResponseUtil
.
success
();
return
ResponseUtil
.
success
();
}
}
//运单状态非待接单或系统接单时,不能取消运单
//运单状态非待接单或系统接单时,不能取消运单
...
...
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