|
|
|
@@ -149,19 +149,19 @@ public class WxOrderGroupController extends BaseController { |
|
|
|
return wxOrderGroupService.queryAttendStatus(wxOrderGroup); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "拼团营销分析") |
|
|
|
@GetMapping("queryOrderGroupMarketingList") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "couponId", value = "couponId", dataType = "String", paramType = "query"), |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true), |
|
|
|
}) |
|
|
|
public ResultData queryOrderGroupMarketingList(@ModelAttribute WxOrderGroupMarketing wxOrderGroupMarketing, Integer pageNum, Integer pageSize) { |
|
|
|
TenantEntity tenantEntity = getTenantInfo(); |
|
|
|
List<TenantEntity> tenantEntitys = wxMallService.getTenantEntitys(tenantEntity); |
|
|
|
wxOrderGroupMarketing.updateTenantInfo(tenantEntity); |
|
|
|
final PageInfo<WxOrderGroupMarketing> page = wxOrderGroupService.queryOrderGroupMarketingList(wxOrderGroupMarketing, tenantEntitys, pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
// @ApiOperation(value = "拼团营销分析") |
|
|
|
// @GetMapping("queryOrderGroupMarketingList") |
|
|
|
// @ApiImplicitParams({ |
|
|
|
// @ApiImplicitParam(name = "couponId", value = "couponId", dataType = "String", paramType = "query"), |
|
|
|
// @ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
// @ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true), |
|
|
|
// }) |
|
|
|
// public ResultData queryOrderGroupMarketingList(@ModelAttribute WxOrderGroupMarketing wxOrderGroupMarketing, Integer pageNum, Integer pageSize) { |
|
|
|
// TenantEntity tenantEntity = getTenantInfo(); |
|
|
|
// List<TenantEntity> tenantEntitys = wxMallService.getTenantEntitys(tenantEntity); |
|
|
|
// wxOrderGroupMarketing.updateTenantInfo(tenantEntity); |
|
|
|
// final PageInfo<WxOrderGroupMarketing> page = wxOrderGroupService.queryOrderGroupMarketingList(wxOrderGroupMarketing, tenantEntitys, pageNum, pageSize); |
|
|
|
// return new ResultData(page); |
|
|
|
// } |
|
|
|
|
|
|
|
} |