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
e248d63c
Commit
e248d63c
authored
May 12, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营销活动订单
parent
94f2398b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
GicOrderController.java
...aoban/manage/web/controller/order/GicOrderController.java
+8
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderController.java
View file @
e248d63c
...
...
@@ -106,6 +106,7 @@ public class GicOrderController {
// 发货订单列表 (0全部,待发货2+待收货3,部分发货7)
@RequestMapping
(
"list-order"
)
public
RestResponse
<
Object
>
orderList
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
String
search
,
@RequestParam
(
required
=
false
)
Integer
businessType
,
@RequestParam
(
defaultValue
=
"0"
)
int
status
,
BasePageInfo
pageInfo
)
{
String
strStatus
=
""
+
status
;
if
(
status
==
0
)
{
...
...
@@ -122,6 +123,7 @@ public class GicOrderController {
qdto
.
setDeliveryChannel
(
1
);
// 库存 - 门店库存2
qdto
.
setDeliveryMode
(
2
);
qdto
.
setBusinessType
(
businessType
);
if
(
StringUtils
.
isNotEmpty
(
search
))
{
qdto
.
setSearchOrderType
(
SearchOrderTypeEnum
.
GOODS_NAME_OR_ORDER_NUMBER
.
getType
());
qdto
.
setSearchOrderParam
(
search
);
...
...
@@ -134,7 +136,7 @@ public class GicOrderController {
// 数量查询(待发货+待收货)
// orderType:2待发货 3待收货
@RequestMapping
(
"order-deliver-count"
)
public
RestResponse
<
Object
>
orderCount
(
String
enterpriseId
,
String
storeId
)
{
public
RestResponse
<
Object
>
orderCount
(
String
enterpriseId
,
String
storeId
,
@RequestParam
(
required
=
false
)
Integer
businessType
)
{
OrderCountVO
vo
=
new
OrderCountVO
();
if
(
StringUtils
.
isEmpty
(
storeId
))
{
return
RestResponse
.
successResult
(
vo
);
...
...
@@ -146,6 +148,7 @@ public class GicOrderController {
// 库存 - 门店库存2
qdto
.
setDeliveryMode
(
2
);
qdto
.
setBelongStoreId
(
storeId
);
qdto
.
setBusinessType
(
businessType
);
ServiceResponse
<
List
<
OrderStatusDTO
>>
resp
=
this
.
webOrderManageApiService
.
countOrderStatus
(
qdto
);
List
<
OrderStatusDTO
>
list
=
resp
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
...
...
@@ -169,6 +172,7 @@ public class GicOrderController {
// status 0全部 1待核销 2已核销
@RequestMapping
(
"list-verification-order"
)
public
RestResponse
<
Object
>
mallOrderList
(
String
enterpriseId
,
String
storeId
,
String
clerkId
,
@RequestParam
(
required
=
false
)
Integer
businessType
,
@RequestParam
(
defaultValue
=
"0"
)
int
status
,
String
search
,
BasePageInfo
pageInfo
)
{
// 查询门店
ListOrderManageQDTO
qdto
=
new
ListOrderManageQDTO
();
...
...
@@ -185,6 +189,7 @@ public class GicOrderController {
qdto
.
setDeliveryOptType
(
1
);
}
qdto
.
setSearchOrderParam
(
search
);
qdto
.
setBusinessType
(
businessType
);
return
this
.
orderListSelect
(
qdto
,
pageInfo
,
false
);
}
...
...
@@ -354,6 +359,7 @@ public class GicOrderController {
@RequestMapping
(
"list-member-order"
)
public
RestResponse
<
Object
>
orderList
(
String
enterpriseId
,
String
memberId
,
String
search
,
@RequestParam
(
defaultValue
=
"-1"
)
int
status
,
@RequestParam
(
defaultValue
=
"0"
)
int
deliveryChannel
,
@RequestParam
(
required
=
false
)
Integer
businessType
,
@RequestParam
(
defaultValue
=
"-1"
)
int
orderType
,
BasePageInfo
pageInfo
,
String
startTime
,
String
endTime
)
{
if
(
StringUtils
.
isEmpty
(
memberId
))
{
return
RestResponse
.
failure
(
"9999"
,
"memberId为空"
);
...
...
@@ -383,6 +389,7 @@ public class GicOrderController {
qdto
.
setMemberId
(
memberId
);
qdto
.
setStartDate
(
startDate
);
qdto
.
setEndDate
(
endDate
);
qdto
.
setBusinessType
(
businessType
);
if
(
StringUtils
.
isNotEmpty
(
search
))
{
qdto
.
setSearchOrderType
(
SearchOrderTypeEnum
.
ORDER_NUMBER
.
getType
());
qdto
.
setSearchOrderParam
(
search
);
...
...
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