package cn.com.ctop.crawler.modules.pangolin.mapper;

import cn.com.ctop.crawler.modules.pangolin.entity.PangolinReportAppHour;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PangolinReportAppHourMapper extends BaseMapper<PangolinReportAppHour> {
    JSONObject getComparedDate(@Param(value = "appId") Integer appId,
                               @Param(value = "hour") Integer hour,
                               @Param(value = "userId")String userId,
                               @Param(value = "type")String type,
                               @Param(value = "today")String today,
                               @Param(value = "yesterday")String yesterday,
                               @Param(value = "sevenDaysAgo")String sevenDaysAgo,
                               @Param(value = "compareTime1")String compareTime1,
                               @Param(value = "compareTime2")String compareTime2,
                               @Param(value = "projectIds")List<Long> projectIds,
                               @Param(value = "accountNames")List<String> accountNames);
}
