|
@@ -55,6 +55,8 @@ public class TaOrderController extends BaseController {
|
55
|
55
|
@ApiOperation(value="商铺订单列表", notes = "商铺订单列表", httpMethod = "GET", response = ResponseBean.class)
|
56
|
56
|
public ResponseBean taOrderList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
57
|
57
|
@ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
|
58
|
+ @ApiParam("是否待出票") @RequestParam(value ="isDrawn", required = false) Boolean isDrawn,
|
|
59
|
+ @ApiParam("是否待派奖") @RequestParam(value ="isCashed", required = false) Boolean isCashed,
|
58
|
60
|
@ApiParam("彩种类型, 不传就是所有") @RequestParam(value ="lotteryId",defaultValue = "") String lotteryId,
|
59
|
61
|
HttpServletRequest request
|
60
|
62
|
) throws Exception{
|
|
@@ -62,7 +64,7 @@ public class TaOrderController extends BaseController {
|
62
|
64
|
TaShop taShop = iTaShopService.getProfileBy(taShopkeeper);
|
63
|
65
|
|
64
|
66
|
IPage<TaOrder> pg = new Page<>(pageNum, pageSize);
|
65
|
|
- IPage<TaOrder> result = iTaOrderService.getShopOrders(pg, taShop, lotteryId);
|
|
67
|
+ IPage<TaOrder> result = iTaOrderService.getShopOrders(pg, taShop, lotteryId, isDrawn, isCashed);
|
66
|
68
|
return ResponseBean.success(result);
|
67
|
69
|
}
|
68
|
70
|
//
|