This commit is contained in:
qaq
2025-06-17 12:17:33 +08:00
parent 4a6b2c8e0f
commit 9fa968d07c
648 changed files with 64968 additions and 1621 deletions
@@ -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);
}