package com.m2pool.lease.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.m2pool.lease.dto.v2.CoinAndAlgorithmDto;
import com.m2pool.lease.entity.LeaseMiningSoftwareConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 挖矿软件公共配置表 Mapper 接口
 * </p>
 *
 * @author yyb
 * @since 2025-11-27
 */
@Mapper
public interface LeaseMiningSoftwareConfigMapper extends BaseMapper<LeaseMiningSoftwareConfig> {
    /**
     * 查询支持的币种和算法
     * @param miningsofts
     * @return
     */
    List<CoinAndAlgorithmDto>  selectSupportAlgorithm(@Param("miningsofts") List<String> miningsofts,@Param("modelList") List<String> modelList);
}
