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
bfb8d53d
Commit
bfb8d53d
authored
Mar 07, 2023
by
zhangzhendong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单交易
parent
1d54b0e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+13
-8
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
bfb8d53d
...
...
@@ -4,6 +4,7 @@ import java.util.ArrayList;
import
java.util.Arrays
;
import
java.util.List
;
import
com.gic.business.order.qdto.ordermanage.CountOrderStatusQDTO
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
...
...
@@ -128,7 +129,11 @@ public class GicOrderController {
public
RestResponse
<
Object
>
orderCount
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
String
search
,
@RequestParam
(
defaultValue
=
"1"
)
int
status
)
{
OrderCountVO
vo
=
new
OrderCountVO
();
this
.
webOrderManageApiService
.
countOrderStatus
(
enterpriseId
,
1
);
CountOrderStatusQDTO
countOrderStatusQDTO
=
new
CountOrderStatusQDTO
();
countOrderStatusQDTO
.
setEnterpriseId
(
enterpriseId
);
countOrderStatusQDTO
.
setBusinessType
(
1
);
countOrderStatusQDTO
.
setStoreId
(
storeId
);
this
.
webOrderManageApiService
.
countOrderStatus
(
countOrderStatusQDTO
);
return
RestResponse
.
successResult
(
vo
);
}
...
...
@@ -136,10 +141,10 @@ public class GicOrderController {
@RequestMapping
(
"order-detail"
)
public
RestResponse
<
Object
>
orderDetail
(
String
enterpriseId
,
String
clerkId
,
String
searchParams
,
@RequestParam
(
defaultValue
=
"1"
)
int
orderType
,
String
orderId
)
{
QueryOrderDetailQDTO
q
dto
=
new
QueryOrderDetailQDTO
();
q
dto
.
setEnterpriseId
(
enterprise
Id
);
q
dto
.
setOrderId
(
order
Id
);
ServiceResponse
<
OrderDetailDTO
>
ret
=
webOrderManageApiService
.
getOrderDetail
(
q
dto
);
QueryOrderDetailQDTO
q
ueryOrderDetailQDTO
=
new
QueryOrderDetailQDTO
();
q
ueryOrderDetailQDTO
.
setOrderId
(
order
Id
);
q
ueryOrderDetailQDTO
.
setEnterpriseId
(
enterprise
Id
);
ServiceResponse
<
OrderDetailDTO
>
ret
=
webOrderManageApiService
.
getOrderDetail
(
q
ueryOrderDetailQDTO
);
if
(!
ret
.
isSuccess
())
{
return
RestResponse
.
failure
(
ret
.
getCode
(),
ret
.
getMessage
());
}
...
...
@@ -157,9 +162,9 @@ public class GicOrderController {
member
.
setAddressPhone
(
orderInfo
.
getBuyerPhone
());
member
.
setAddressName
(
orderInfo
.
getBuyerName
());
member
.
setAddressDetail
(
orderInfo
.
getAddressInfo
());
orderDetailVO
.
setMember
(
member
);
return
RestResponse
.
successResult
(
orderDetailVO
);
}
...
...
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