mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 07:56:37 +08:00
init
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.admin.mapper;
|
||||
|
||||
import com.admin.entity.Forward;
|
||||
import com.admin.common.dto.ForwardWithTunnelDto;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author QAQ
|
||||
* @since 2025-06-03
|
||||
*/
|
||||
public interface ForwardMapper extends BaseMapper<Forward> {
|
||||
|
||||
/**
|
||||
* 查询所有转发信息(包含隧道信息)
|
||||
* @return 转发信息列表
|
||||
*/
|
||||
List<ForwardWithTunnelDto> selectAllForwardsWithTunnel();
|
||||
|
||||
/**
|
||||
* 根据用户ID查询转发信息(包含隧道信息)
|
||||
* @param userId 用户ID
|
||||
* @return 转发信息列表
|
||||
*/
|
||||
List<ForwardWithTunnelDto> selectForwardsWithTunnelByUserId(@Param("userId") Integer userId);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user