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
ca4b65aa
Commit
ca4b65aa
authored
Mar 08, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单
parent
2568e03a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+28
-0
OrderListItemVO.java
...a/com/gic/haoban/manage/web/vo/order/OrderListItemVO.java
+11
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
ca4b65aa
...
...
@@ -292,6 +292,34 @@ public class GicOrderController {
return
RestResponse
.
successResult
(
response
.
getResult
());
}
// 我的客户-会员订单列表
// deliveryChannel 0全部 1快递 2自提
// 1待付款 2待发货 7部分发货4 已完成0 已取消 5售后中
@RequestMapping
(
"list-member-order"
)
public
RestResponse
<
Object
>
orderList
(
String
enterpriseId
,
String
memberId
,
String
search
,
@RequestParam
(
defaultValue
=
"-1"
)
int
status
,
@RequestParam
(
defaultValue
=
"0"
)
int
deliveryChannel
,
BasePageInfo
pageInfo
)
{
if
(
StringUtils
.
isEmpty
(
memberId
))
{
return
RestResponse
.
failure
(
"9999"
,
"memberId为空"
);
}
String
strStatus
=
""
+
status
;
if
(
status
==
-
1
)
{
strStatus
=
null
;
}
// 查询门店
ListOrderManageQDTO
qdto
=
new
ListOrderManageQDTO
();
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setOrderStep
(
strStatus
);
qdto
.
setMemberId
(
memberId
);
qdto
.
setBusinessType
(
OrderEnum
.
BusinessTypeEnum
.
MICRO_MALL
.
getType
());
if
(
StringUtils
.
isNotEmpty
(
search
))
{
qdto
.
setSearchOrderParam
(
search
);
}
// 配送方式 -1:所有 0:门店自提 1:快递发货
qdto
.
setDeliveryType
(
1
);
return
this
.
orderListSelect
(
qdto
,
pageInfo
);
}
// 修改物流
@RequestMapping
(
"modify-order-logistics"
)
public
RestResponse
<
Object
>
modifyOrderDeliver
(
String
enterpriseId
,
String
orderId
,
String
storeId
,
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/order/OrderListItemVO.java
View file @
ca4b65aa
...
...
@@ -58,6 +58,17 @@ public class OrderListItemVO implements Serializable {
// 库存
private
int
stortStock
;
// 物流ID
private
String
logisticsId
;
public
String
getLogisticsId
()
{
return
logisticsId
;
}
public
void
setLogisticsId
(
String
logisticsId
)
{
this
.
logisticsId
=
logisticsId
;
}
public
int
getStortStock
()
{
return
stortStock
;
}
...
...
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