package com.yeejoin.equipmanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.equipmanage.common.entity.AnalysisReportSummary;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 总结报告 Mapper 接口
 *
 * @author system_generator
 * @date 2022-01-16
 */
public interface AnalysisReportSummaryMapper extends BaseMapper<AnalysisReportSummary> {

    /**
     * 插入月总结信息
     * @param suffix 指标参数
     * @param beginDate 开始日期
     * @param endDate 结束日期
     * @param systemId 系统id
     */
    void insertSystemMonthSummaryData(@Param("indexKeySuffix") List<String> suffix, @Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("systemId") Long systemId);
    void insertSystemMonthSummaryDataTest(@Param("indexKeySuffix") List<String> suffix, @Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("systemId") Long systemId, @Param("date") Date date, @Param("num") int num);
}
