Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
9d9910ca
Commit
9d9910ca
authored
Jan 23, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
核销校验提示
parent
e6e1f083
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+6
-7
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
9d9910ca
...
...
@@ -187,7 +187,7 @@ public class GicOrderController {
if
(
status
==
2
)
{
qdto
.
setWriteOffClerkId
(
clerkId
);
qdto
.
setOrderStep
(
"4"
);
qdto
.
setDeliveryOptType
(
1
);
//
qdto.setDeliveryOptType(1);
}
qdto
.
setSearchOrderParam
(
search
);
qdto
.
setBusinessType
(
businessType
);
...
...
@@ -256,14 +256,13 @@ public class GicOrderController {
OrderDetailDTO
detail
=
ret
.
getResult
();
logger
.
info
(
"订单信息={}"
,
JSON
.
toJSONString
(
ret
,
true
));
if
(
ret
.
isSuccess
())
{
// 已核销,且不是好办核销的
if
(
null
!=
detail
.
getOrderInfo
().
getDeliveryOptType
()
&&
detail
.
getOrderInfo
().
getDeliveryOptType
()
!=
1
)
{
logger
.
info
(
"已核销,且不是好办核销的={}"
,
writeOffCode
);
return
RestResponse
.
failure
(
"9999"
,
"此自提点无法核销"
);
if
(
detail
.
getOrderInfo
().
getOrderStep
()==
4
)
{
logger
.
info
(
"提货码已核销={}"
,
writeOffCode
);
return
RestResponse
.
failure
(
"9999"
,
"提货码已核销"
);
}
if
(!
storeId
.
equals
(
detail
.
getOrderInfo
().
getPickUpStoreId
()))
{
return
RestResponse
.
failure
(
"9999"
,
"此自提点无法核销"
);
logger
.
info
(
"核销门店不符合={}"
,
writeOffCode
);
return
RestResponse
.
failure
(
"9999"
,
"此自提点无法核销,请确认订单核销门店"
);
}
OrderDetailVO
orderDetailVO
=
this
.
getOrderDetail
(
enterpriseId
,
ret
.
getResult
().
getOrderInfo
(),
ret
.
getResult
().
getOrderItemList
(),
storeId
);
...
...
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