|
|
|
@@ -4,6 +4,8 @@ import com.iformall.common.ResultData; |
|
|
|
import com.iformall.domain.dto.MarkingCouponDataReportDto; |
|
|
|
import com.iformall.service.MarkingDataReportService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiImplicitParams; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
@@ -33,6 +35,9 @@ public class MarkingDataReportController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("查询券数据列表") |
|
|
|
@GetMapping("/couponDataList") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData findCouponDataList(@ModelAttribute MarkingCouponDataReportDto markingCouponDataReportDto, Integer pageNum, Integer pageSize) { |
|
|
|
return new ResultData(markingDataReportService.getCouponDataList(getTenantId(), markingCouponDataReportDto, pageNum, pageSize)); |
|
|
|
} |
|
|
|
@@ -45,6 +50,9 @@ public class MarkingDataReportController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("查询场景营销数据列表") |
|
|
|
@GetMapping("/sceneDataList") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData findSceneDataList(@ModelAttribute MarkingCouponDataReportDto markingCouponDataReportDto, Integer pageNum, Integer pageSize) { |
|
|
|
return new ResultData(markingDataReportService.getSceneDataList(getTenantId(), markingCouponDataReportDto, pageNum, pageSize)); |
|
|
|
} |
|
|
|
@@ -57,6 +65,9 @@ public class MarkingDataReportController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("查询触达用户数数据列表") |
|
|
|
@GetMapping("/touchUsersDataList") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData touchUsersDataList(@ModelAttribute MarkingCouponDataReportDto markingCouponDataReportDto, Integer pageNum, Integer pageSize) { |
|
|
|
return new ResultData(markingDataReportService.getTouchUsersReportList(getTenantId(), markingCouponDataReportDto, pageNum, pageSize)); |
|
|
|
} |
|
|
|
|