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

import net.northking.cctp.scriptcase.db.entity.AtuScriptVersion;
import net.northking.cctp.scriptcase.db.mapper.AtuScriptVersionMapper;
import net.northking.cctp.scriptcase.dto.atuScript.atuScriptVersion.AtuScriptVersionResultDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Mybatis数据库持久层（业务层）：脚本版本信息表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2022-10-18 17:29:31  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Repository
public interface AtuScriptVersionDao extends AtuScriptVersionMapper
{
    /**
     * 根据版本id和脚本id查询脚本版本信息
     * @param scriptVersion 版本
     * @param scriptId 脚本id
     * @return 脚本版本信息
     */
    AtuScriptVersion queryByScriptIdAndVersion(@Param("scriptVersion") String scriptVersion,
                                               @Param("scriptId") String scriptId);



    List<AtuScriptVersionResultDto> queryCountNum();



}
