/*
* Copyright (c) 京北方信息技术股份有限公司 Corporation 2021 . All rights reserved.
*
*/
package net.northking.cctp.dw.db.dao;

import net.northking.cctp.dw.db.entity.BugDensityChart;
import net.northking.cctp.dw.db.entity.MidProjectInfo;
import net.northking.cctp.dw.db.mapper.BugDensityChartMapper;
import net.northking.cctp.dw.dto.ProjectDataVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Mybatis数据库持久层（业务层）：缺陷密度分布图
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2021-12-17 15:58:25  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Repository
public interface BugDensityChartDao extends BugDensityChartMapper
{
    void addByBatch(@Param("list") List<BugDensityChart> lists);

    void insertBatch(@Param("dataList") List<MidProjectInfo> dataList, @Param("tenantId") String tenantId);

    List<BugDensityChart> getProjectList();

    void deleteByData(@Param("dataList") List<MidProjectInfo> dataList, @Param("tenantId") String tenantId);

    List<ProjectDataVo> queryBugDensityByTenantId(@Param("tenantId") String tenantId,@Param("projectIds") List<String> projectIds);

    // ----      The End by Generator     ----//

}
