package com.pig4cloud.pig.marketing.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.marketing.api.dto.data.MarketingDataReportDTO;
import com.pig4cloud.pig.marketing.api.dto.data.PageFirstLevelDataDTO;
import com.pig4cloud.pig.marketing.api.dto.data.PageSecondLevelDataDTO;
import com.pig4cloud.pig.marketing.api.vo.data.MarketingDataReportVO;
import com.pig4cloud.pig.marketing.api.vo.data.PageFirstLevelDataVO;
import com.pig4cloud.pig.marketing.api.vo.data.PageSecondLevelDataVO;
import jakarta.servlet.http.HttpServletRequest;

/**
 * @author: lwh
 * @date: 2025-07-22
 * @description: 营销数据service
 */

public interface MarketingDataService {
	/**
	 * 上报营销数据
	 * @param reqDto 营销数据
	 * @param request request
	 * @return MarketingDataReportVO
	 */
	MarketingDataReportVO reportMarketingData(MarketingDataReportDTO reqDto, HttpServletRequest request);

	/**
	 * 分页统计一级营销数据
	 * @param reqDto 分页参数
	 * @return Page
	 */
	Page<PageFirstLevelDataVO> pageFirstLevelData(PageFirstLevelDataDTO reqDto);

	/**
	 * 分页统计二级营销数据
	 * @param reqDto 分页参数
	 * @return Page
	 */
	Page<PageSecondLevelDataVO> pageSecondLevelData(PageSecondLevelDataDTO reqDto);
}
