package com.xinelu.manage.mapper.scriptinfotaskinfo;

import com.xinelu.manage.domain.scriptinfotaskinfo.ScriptInfoTaskInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 百度外呼话术任务临时表Mapper接口
 *
 * @author haown
 * @date 2024-08-30
 */
public interface ScriptInfoTaskInfoMapper {

	// String getByNodeId(@Param("signPatientManageRouteNodeId") long signPatientManageRouteNodeId, @Param("aiobTaskType") String aiobTaskType);
	String getByNodeId(ScriptInfoTaskInfo scriptInfoTaskInfo);


	List<ScriptInfoTaskInfo> selectList(ScriptInfoTaskInfo scriptInfoTaskInfo);

	/**
	 * 新增百度外呼话术任务临时表
	 *
	 * @param scriptInfoTaskInfo 百度外呼话术任务临时表
	 * @return 结果
	 */
	int insertScriptInfoTaskInfo(ScriptInfoTaskInfo scriptInfoTaskInfo);

	int updateExecuteStatusByNodeId(Long signPatientManageRouteNodeId);

}
