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

import net.northking.cctp.scriptcase.db.entity.AtuSceneInfo;
import net.northking.cctp.scriptcase.db.mapper.AtuSceneInfoMapper;
import net.northking.cctp.scriptcase.dto.atuScript.atuScriptInfo.PrincipalUpdateDto;
import net.northking.cctp.scriptcase.dto.sceneScript.AtuSceneInfoDetailDto;
import net.northking.cctp.scriptcase.dto.sceneScript.AtuSceneScriptPagingQueryDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Mybatis数据库持久层（业务层）：场景脚本信息表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2022-11-29 10:19:09  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Repository
public interface AtuSceneInfoDao extends AtuSceneInfoMapper
{
  /**
  * 根据索引查找
          * @param id 场景脚本ID
      */
  AtuSceneInfo findByPkScriptId (String id);

  /**
   * 根据条件分页查询
   * @param query 分页查询条件
   */
  List<AtuSceneInfoDetailDto> queryList(AtuSceneScriptPagingQueryDto query);

  List<AtuSceneInfo> querySceneByList(@Param(value = "ids") List<String> ids);

  Integer updatePrincipal(PrincipalUpdateDto dto);

    List<String> selectManagerByProject(@Param("projectId") String projectId);

    List<String> selectCreatorByProject(@Param("projectId") String projectId);

    List<String> selectUpdaterByProject(@Param("projectId") String projectId);


}
