package com.lantone.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantone.security.dto.SoftwareDTO;
import com.lantone.security.entity.Software;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 表名：sys_software Mapper接口
 * </p>
 */
public interface SoftwareMapper extends BaseMapper<Software> {

    List<SoftwareDTO> getUserSoftware(@Param("roles") List<Long> loginRoles);
}