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

import net.northking.cctp.dw.db.mapper.DwReBusComponentMapper;
import net.northking.cctp.dw.dto.atu.DwReBusComponentDetailDto;
import net.northking.cctp.dw.dto.atu.DwReBusComponentQueryDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

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

/**
 * Mybatis数据库持久层（业务层）：业务组件发布同步表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2022-11-25 11:15:20  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Repository
public interface DwReBusComponentDao extends DwReBusComponentMapper
{
    List<DwReBusComponentDetailDto> countByGroup(DwReBusComponentQueryDto query);

    Integer getComponentNum(@Param("projectId") String projectId,
                            @Param("userId") String userId,
                            @Param("queryToday") String queryToday,
                            @Param("todayStart") Date todayStart,
                            @Param("todayEnd") Date todayEnd);

}
