package cn.com.ctop.report.service;

import cn.com.ctop.report.entity.KuaishouAccountReportDailyDw;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface IKuaishouAccountReportDailyDwService extends IService<KuaishouAccountReportDailyDw> {

    List<JSONObject> getListDataByParams(String mediaId, BigDecimal discount, JSONArray accounts, String startDate, String endDate, int hour, String target, String order);

    JSONObject getTotalCharge(Map<String, Object> paramsMap);

    JSONObject getTrendCharge(Long projectId, String startTime, String endTime);

    Result<Object> getProjectReport(Long projectId, String startTime, String endTime, Integer pageSize, Integer pageNo) throws Exception;
}
