package cn.orionsec.ops.dao;

import cn.orionsec.ops.entity.domain.MachineSecretKeyDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MachineSecretKeyDAO extends BaseMapper<MachineSecretKeyDO> {

    /**
     * 通过名称查询id
     *
     * @param nameList nameList
     * @return rows
     */
    List<MachineSecretKeyDO> selectIdByNameList(@Param("nameList") List<String> nameList);

}
