|
@@ -375,6 +375,22 @@ public class UserTicketController extends BaseApiController {
|
|
|
return AjaxResult.success(ticketBoxVO);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/ticket/list/underChannel")
|
|
|
+ @ApiOperation("查询门店下盲票组列表")
|
|
|
+ @ApiResponses(
|
|
|
+ @ApiResponse(code = 200, message = "查询成功", response = TicketBox.class)
|
|
|
+ )
|
|
|
+ public TableDataInfo listUnderChannel(@RequestBody TicketBoxQueryParam ticketBoxQueryParam) {
|
|
|
+ startPage();
|
|
|
+ QueryWrapper<TicketBox> ticketBoxQueryWrapper = new QueryWrapper<>();
|
|
|
+ ticketBoxQueryWrapper.eq("t1.status", TicketBoxStatusEnum.PUT_ON)
|
|
|
+ .eq("t1.sale_channel_type", TicketBoxSaleChannelTypeEnum.SHOP.getValue())
|
|
|
+ .eq("t2.channel_id", ticketBoxQueryParam.getChannelId());
|
|
|
+
|
|
|
+ List<TicketBox> ticketBoxList = ticketBoxService.listBySaleChannel(ticketBoxQueryWrapper);
|
|
|
+ return getDataTable(ticketBoxList);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@PostMapping("/ticket/list/underChannel")
|
|
|
@ApiOperation("查询门店下盲票组列表")
|