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
0895a328
Commit
0895a328
authored
Mar 07, 2023
by
zhangzhendong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单交易
parent
e2a9daff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+9
-2
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
0895a328
...
...
@@ -4,6 +4,7 @@ import java.util.ArrayList;
import
java.util.Arrays
;
import
java.util.List
;
import
com.gic.business.order.qdto.ordermanage.QueryOrderDetailQDTO
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -113,7 +114,10 @@ public class GicOrderController {
@RequestMapping
(
"order-detail"
)
public
RestResponse
<
Object
>
orderDetail
(
String
enterpriseId
,
String
clerkId
,
String
searchParams
,
@RequestParam
(
defaultValue
=
"1"
)
int
orderType
,
String
orderId
)
{
ServiceResponse
<
OrderDetailDTO
>
ret
=
webOrderManageApiService
.
getOrderDetail
(
enterpriseId
,
orderId
);
QueryOrderDetailQDTO
queryOrderDetailQDTO
=
new
QueryOrderDetailQDTO
();
queryOrderDetailQDTO
.
setOrderId
(
orderId
);
queryOrderDetailQDTO
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
OrderDetailDTO
>
ret
=
webOrderManageApiService
.
getOrderDetail
(
queryOrderDetailQDTO
);
if
(!
ret
.
isSuccess
())
{
return
RestResponse
.
failure
(
ret
.
getCode
(),
ret
.
getMessage
());
}
...
...
@@ -138,7 +142,10 @@ public class GicOrderController {
// 订单发货商品列表
@RequestMapping
(
"order-deliver-list"
)
public
RestResponse
<
Object
>
orderDeliverList
(
String
enterpriseId
,
String
orderId
)
{
ServiceResponse
<
OrderDetailDTO
>
resp
=
this
.
webOrderManageApiService
.
getOrderDetail
(
enterpriseId
,
orderId
);
QueryOrderDetailQDTO
queryOrderDetailQDTO
=
new
QueryOrderDetailQDTO
();
queryOrderDetailQDTO
.
setOrderId
(
orderId
);
queryOrderDetailQDTO
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
OrderDetailDTO
>
resp
=
this
.
webOrderManageApiService
.
getOrderDetail
(
queryOrderDetailQDTO
);
List
<
ListOrderItemDTO
>
list
=
resp
.
getResult
().
getOrderItemList
();
List
<
OrderListItemVO
>
voList
=
new
ArrayList
<>();
for
(
ListOrderItemDTO
item
:
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