package com.njcn.gather.script.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.njcn.gather.script.pojo.po.PqScriptDtls;
import com.njcn.gather.script.pojo.vo.PqScriptCheckDataVO;
import com.njcn.gather.script.pojo.vo.PqScriptDtlDataVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author caozehui
 * @date 2024-11-18
 */
public interface PqScriptDtlsMapper extends MPJBaseMapper<PqScriptDtls> {

    /**
     * 获取当前检测脚本最大index值
     *
     * @param scriptId
     * @return
     */
    Integer selectMaxIndex(@Param("scriptId") String scriptId);

    List<PqScriptDtlDataVO> getScriptDtlsDataList(@Param("scriptId")String scriptId);
}

