Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
caoyan
6 years ago
Commit
e506278c62caa26d78b289b806cdc6777e200dcb
2 parents
8a2b2ea1
2be9755d
Merge branch 'dev_确认收货优化' into test6.9.7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
order/src/main/java/com/yoho/ufo/order/controller/BuyerOrderController.java
order/src/main/java/com/yoho/ufo/order/controller/BuyerOrderController.java
View file @
e506278
...
...
@@ -518,10 +518,10 @@ public class BuyerOrderController {
@RequestMapping
(
value
=
"/addAbnormalPackage"
)
public
ApiResponse
addAbnormalPackage
(
BuyerOrderReq
req
)
{
LOGGER
.
info
(
"addAbnormalPackage in. req is {}"
,
req
);
if
(
StringUtils
.
isEmpty
(
req
.
getSellerWaybillCode
()))
{
return
new
ApiResponse
.
ApiResponseBuilder
().
code
(
500
).
message
(
"卖家快递单号不能为空"
).
build
();
if
(
StringUtils
.
isEmpty
(
req
.
getSellerWaybillCode
())
||
StringUtils
.
isEmpty
(
req
.
getPhoneUid
()))
{
return
new
ApiResponse
.
ApiResponseBuilder
().
code
(
500
).
message
(
"卖家快递单号或phoneUid不能为空"
).
build
();
}
int
result
=
buyerOrderService
.
addAbnormalPackage
(
req
.
getSellerWaybillCode
());
int
result
=
buyerOrderService
.
addAbnormalPackage
(
req
.
getSellerWaybillCode
()
,
req
.
getPhoneUid
()
);
if
(
result
>
0
)
{
return
new
ApiResponse
.
ApiResponseBuilder
().
code
(
200
).
message
(
"添加异常包裹成功"
).
build
();
}
else
{
...
...
Please
register
or
login
to post a comment