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
6692f2ea
Commit
6692f2ea
authored
Mar 16, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款
parent
c4c082a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
GicOrderRefundController.java
...manage/web/controller/order/GicOrderRefundController.java
+14
-6
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderRefundController.java
View file @
6692f2ea
...
@@ -103,10 +103,14 @@ public class GicOrderRefundController {
...
@@ -103,10 +103,14 @@ public class GicOrderRefundController {
// 退货地址类型 0归属门店 1发货门店 2平台地址
// 退货地址类型 0归属门店 1发货门店 2平台地址
int
sellerAddressType
=
dto
.
getSellerAddressType
();
int
sellerAddressType
=
dto
.
getSellerAddressType
();
boolean
canAduitFlag
=
false
;
boolean
canAduitFlag
=
false
;
String
refundStoreId
=
dto
.
getRefundStoreId
();
if
(
vo
.
getRefundStatus
()
==
1
)
{
logger
.
info
(
"退货收货门店={},{},{}"
,
storeId
,
refundStoreId
,
sellerAddressType
);
if
(
sellerAddressType
!=
2
&&
StringUtils
.
isNotEmpty
(
refundStoreId
)
&&
storeId
.
equals
(
refundStoreId
))
{
canAduitFlag
=
true
;
canAduitFlag
=
true
;
}
else
{
String
refundStoreId
=
dto
.
getRefundStoreId
();
logger
.
info
(
"退货收货门店={},{},{}"
,
storeId
,
refundStoreId
,
sellerAddressType
);
if
(
sellerAddressType
!=
2
&&
StringUtils
.
isNotEmpty
(
refundStoreId
)
&&
storeId
.
equals
(
refundStoreId
))
{
canAduitFlag
=
true
;
}
}
}
vo
.
setCanAduitFlag
(
canAduitFlag
);
vo
.
setCanAduitFlag
(
canAduitFlag
);
return
RestResponse
.
successResult
(
vo
);
return
RestResponse
.
successResult
(
vo
);
...
@@ -136,10 +140,14 @@ public class GicOrderRefundController {
...
@@ -136,10 +140,14 @@ public class GicOrderRefundController {
// 判断好办端能否审批售后canAduitFlag
// 判断好办端能否审批售后canAduitFlag
int
sellerAddressType
=
dto
.
getSellerAddressType
();
int
sellerAddressType
=
dto
.
getSellerAddressType
();
boolean
canAduitFlag
=
false
;
boolean
canAduitFlag
=
false
;
String
exchangeStoreId
=
dto
.
getExchangeStoreId
();
if
(
vo
.
getExchangeStatus
()
==
1
)
{
logger
.
info
(
"换货收货门店={},{}"
,
storeId
,
exchangeStoreId
,
sellerAddressType
);
if
(
sellerAddressType
!=
2
&&
StringUtils
.
isNotEmpty
(
exchangeStoreId
)
&&
storeId
.
equals
(
exchangeStoreId
))
{
canAduitFlag
=
true
;
canAduitFlag
=
true
;
}
else
{
String
exchangeStoreId
=
dto
.
getExchangeStoreId
();
logger
.
info
(
"换货收货门店={},{}"
,
storeId
,
exchangeStoreId
,
sellerAddressType
);
if
(
sellerAddressType
!=
2
&&
StringUtils
.
isNotEmpty
(
exchangeStoreId
)
&&
storeId
.
equals
(
exchangeStoreId
))
{
canAduitFlag
=
true
;
}
}
}
vo
.
setCanAduitFlag
(
canAduitFlag
);
vo
.
setCanAduitFlag
(
canAduitFlag
);
return
RestResponse
.
successResult
(
vo
);
return
RestResponse
.
successResult
(
vo
);
...
...
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