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
6867d5d1
Commit
6867d5d1
authored
Jun 18, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
协商记录
parent
cc05f10d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
GicOrderRefundController.java
...manage/web/controller/order/GicOrderRefundController.java
+12
-8
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderRefundController.java
View file @
6867d5d1
...
...
@@ -259,9 +259,11 @@ public class GicOrderRefundController {
ServiceResponse
<
List
<
OrderRefundConsultDTO
>>
resp
=
orderRefundApiService
.
listRefundConsult
(
orderRefundId
);
List
<
OrderRefundConsultVO
>
list
=
new
ArrayList
<>()
;
for
(
OrderRefundConsultDTO
dto
:
resp
.
getResult
())
{
String
operInfo
=
dto
.
getOperInfo
()
;
dto
.
setOperInfo
(
null
);
OrderRefundConsultVO
vo
=
EntityUtil
.
changeEntityByJSON
(
OrderRefundConsultVO
.
class
,
dto
)
;
if
(
StringUtils
.
isNotEmpty
(
dto
.
getOperInfo
()
))
{
ConsultOperVO
oper
=
JSONObject
.
parseObject
(
dto
.
getOperInfo
()
,
ConsultOperVO
.
class
)
;
if
(
StringUtils
.
isNotEmpty
(
operInfo
))
{
ConsultOperVO
oper
=
JSONObject
.
parseObject
(
operInfo
,
ConsultOperVO
.
class
)
;
vo
.
setOperInfo
(
oper
);
}
list
.
add
(
vo
)
;
...
...
@@ -277,12 +279,14 @@ public class GicOrderRefundController {
.
listExchangeConsult
(
orderExchangeId
);
List
<
OrderExchangeConsultVO
>
list
=
new
ArrayList
<>()
;
for
(
OrderExchangeConsultDTO
dto
:
resp
.
getResult
())
{
OrderExchangeConsultVO
vo
=
EntityUtil
.
changeEntityByJSON
(
OrderExchangeConsultVO
.
class
,
dto
)
;
if
(
StringUtils
.
isNotEmpty
(
dto
.
getOperInfo
()))
{
ConsultOperVO
oper
=
JSONObject
.
parseObject
(
dto
.
getOperInfo
(),
ConsultOperVO
.
class
)
;
vo
.
setOperInfo
(
oper
);
}
list
.
add
(
vo
)
;
String
operInfo
=
dto
.
getOperInfo
()
;
dto
.
setOperInfo
(
null
);
OrderExchangeConsultVO
vo
=
EntityUtil
.
changeEntityByJSON
(
OrderExchangeConsultVO
.
class
,
dto
)
;
if
(
StringUtils
.
isNotEmpty
(
operInfo
))
{
ConsultOperVO
oper
=
JSONObject
.
parseObject
(
operInfo
,
ConsultOperVO
.
class
)
;
vo
.
setOperInfo
(
oper
);
}
list
.
add
(
vo
)
;
}
return
RestResponse
.
successResult
(
list
);
}
...
...
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