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

import net.northking.cctp.common.db.BasicService;
import net.northking.cctp.dw.db.entity.BugStatusStatistics;
import net.northking.cctp.dw.db.entity.SynBugInfo;
import net.northking.cctp.dw.dto.BugStatusStatisticsDetailDto;
import net.northking.cctp.dw.dto.ChartDataGeneQueryDto;

import java.util.List;

/**
 * 缺陷状态统计
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2021-12-15 14:58:27  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
public interface BugStatusStatisticsService extends BasicService<BugStatusStatistics>
{
    List<BugStatusStatisticsDetailDto> listQuery(ChartDataGeneQueryDto chartDataGeneQueryDto);

    void insertBatch(List<SynBugInfo> dataList, String tenantId);

    void deleteData(List<SynBugInfo> dataList, String tenantId);

    List<BugStatusStatistics> queryUnresolvedBugModuleData(String projectId,List<String> endStatuss);

    List<BugStatusStatistics> queryTop5TypeBugDataByTenantId(String tenantId,List<String> projectIds);

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

}
