Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
yohoufo-fore
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chenchao
6 years ago
Commit
a333704c4ee52907b721babb4df135889b628d5a
1 parent
59189f0b
change input param
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
order/src/main/java/com/yohoufo/order/controller/SellerOrderController.java
order/src/main/java/com/yohoufo/order/controller/SellerOrderController.java
View file @
a333704
...
...
@@ -10,7 +10,6 @@ import com.yohoufo.common.exception.GatewayException;
import
com.yohoufo.dal.order.model.SellerOrder
;
import
com.yohoufo.order.model.response.OrderSubmitResp
;
import
com.yohoufo.order.service.handler.SellerOrderComputeHandler
;
import
com.yohoufo.order.service.impl.SellerOrderCancelService
;
import
com.yohoufo.order.service.impl.SellerOrderService
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -97,11 +96,12 @@ public class SellerOrderController {
@ResponseBody
public
ApiResponse
batchCancel
(
@RequestParam
(
name
=
"uid"
,
required
=
true
)
int
uid
,
@RequestParam
(
name
=
"batchNo"
,
required
=
true
)
String
batchNo
,
@RequestParam
(
name
=
"num"
,
defaultValue
=
"1"
,
required
=
false
)
int
num
@RequestParam
(
name
=
"num"
,
defaultValue
=
"1"
,
required
=
false
)
int
num
,
@RequestParam
(
name
=
"skupList"
,
required
=
true
)
String
skupList
)
throws
GatewayException
{
SellerOrderBatchCancelReq
req
=
SellerOrderBatchCancelReq
.
builder
()
.
uid
(
uid
).
batchNo
(
batchNo
).
storageNum
(
num
)
.
uid
(
uid
).
batchNo
(
batchNo
).
storageNum
(
num
)
.
skupList
(
skupList
)
.
build
();
logger
.
info
(
"in ufo.sellerOrder.batchCancel, req {}"
,
req
);
boolean
result
=
sellerOrderService
.
batchCancel
(
req
);
...
...
@@ -197,11 +197,12 @@ public class SellerOrderController {
public
ApiResponse
batchChangePrice
(
@RequestParam
(
name
=
"uid"
,
required
=
true
)
int
uid
,
@RequestParam
(
name
=
"price"
,
required
=
true
)
String
price
,
@RequestParam
(
name
=
"batchNo"
,
required
=
true
)
String
batchNo
,
@RequestParam
(
name
=
"num"
,
defaultValue
=
"1"
,
required
=
false
)
int
num
@RequestParam
(
name
=
"skupList"
,
required
=
true
)
String
skupList
)
throws
GatewayException
{
BatchChangePriceReq
req
=
BatchChangePriceReq
.
builder
()
.
uid
(
uid
).
price
(
price
).
storageNum
(
num
)
.
batchNo
(
batchNo
)
.
uid
(
uid
).
price
(
price
)
.
batchNo
(
batchNo
).
skupList
(
skupList
)
.
build
();
logger
.
info
(
"in ufo.sellerOrder.batchChangePrice, req {}"
,
req
);
BatchChangePriceResp
result
=
sellerOrderService
.
batchChangePrice
(
req
);
...
...
Please
register
or
login
to post a comment