package com.orion.visor.module.infra.dao;

import com.orion.visor.framework.mybatis.core.mapper.IMapper;
import com.orion.visor.module.infra.entity.domain.TagDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 标签枚举 Mapper 接口
 *
 * @author Jiahang Li
 * @version 1.0.0
 * @since 2023-9-5 11:58
 */
@Mapper
public interface TagDAO extends IMapper<TagDO> {

    /**
     * 获取未使用的标签
     *
     * @param days days
     * @return tagId
     */
    List<TagDO> selectUnusedTag(@Param("days") Integer days);

}
