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

import com.hzbank.testteam.autotest.dependencies.baseDefineDependency.dto.TagDto;
import com.hzbank.testteam.autotest.dependencies.baseDefineDependency.vo.ResponseVO;
import net.northking.cctp.common.db.excel.ExcelService;
import net.northking.cctp.scriptcase.dto.atuScript.atuScriptTag.AtuScriptTagAddDto;

import java.util.List;

/**
 * 脚本标签表Restful逻辑接口
 * @author maven-cctp-plugin
 * @since 1.0
 */
public interface AtuScriptTagApiService extends ExcelService
{

  /**
   * 给脚本列表批量打标签
   * @param addDto
   * @return
   */
  ResponseVO<Integer> addScriptTagList(AtuScriptTagAddDto addDto);

  /**
   * 删除脚本标签
   * @param scriptId
   * @param tagId
   * @return
   */
  Integer deleteScriptTag(String scriptId, Long tagId);

  /**
   * 根据脚本id查询标签列表
   * @param scriptId
   * @return
   */
  List<TagDto> queryScriptTag(String scriptId);

}
