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
1
Merge Requests
1
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
1c657817
Commit
1c657817
authored
Mar 13, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物流
parent
58492332
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+7
-3
OrderExchangeDetailVO.java
...ban/manage/web/vo/order/refund/OrderExchangeDetailVO.java
+9
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
1c657817
...
...
@@ -409,22 +409,26 @@ public class GicOrderController {
* 核销订单
*/
@RequestMapping
(
"/verification"
)
public
RestResponse
<
Object
>
verification
(
String
enterpriseId
,
String
clerkId
,
String
writeOffCode
)
{
public
RestResponse
<
Object
>
verification
(
String
enterpriseId
,
String
clerkId
,
String
writeOffCode
,
String
orderId
)
{
if
(
StringUtils
.
isEmpty
(
writeOffCode
))
{
return
RestResponse
.
failure
(
"9999"
,
"核销码为空"
);
}
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkId
(
clerkId
);
if
(
null
==
clerkDTO
)
{
logger
.
info
(
"积分商城订单核销开始,核销码:{} ,核销人不存在 "
,
writeOffCode
);
throw
new
ShowFrontMessageException
(
"核销人不存在,核销失败!"
);
return
RestResponse
.
failure
(
"9999"
,
"核销人不存在"
);
}
// 微商城核销
if
(
writeOffCode
.
startsWith
(
"M"
))
{
if
(
StringUtils
.
isEmpty
(
orderId
))
{
return
RestResponse
.
failure
(
"9999"
,
"订单ID为空"
);
}
SelfPickOffQDTO
qdto
=
new
SelfPickOffQDTO
();
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setWriteOffClerkId
(
clerkId
);
qdto
.
setWriteOffCode
(
writeOffCode
);
qdto
.
setSource
(
1
);
qdto
.
setWriteOffClerkCode
(
clerkDTO
.
getClerkCode
());
qdto
.
setOrderId
(
orderId
);
ServiceResponse
<
Boolean
>
response
=
webOrderManageApiService
.
selfPickOff
(
qdto
);
if
(!
response
.
isSuccess
())
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/order/refund/OrderExchangeDetailVO.java
View file @
1c657817
...
...
@@ -224,6 +224,15 @@ public class OrderExchangeDetailVO implements Serializable {
private
String
buyerLogisticsCompanyId
;
private
String
sellerLogisticsCompanyId
;
private
String
sellerLogisticsCompanyCode
;
public
String
getSellerLogisticsCompanyCode
()
{
return
sellerLogisticsCompanyCode
;
}
public
void
setSellerLogisticsCompanyCode
(
String
sellerLogisticsCompanyCode
)
{
this
.
sellerLogisticsCompanyCode
=
sellerLogisticsCompanyCode
;
}
public
String
getBuyerLogisticsCompanyId
()
{
return
buyerLogisticsCompanyId
;
...
...
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