#
vincentlu
2025-02-11 2d1b39fae6abed7cda7bd5722fcea23fefdb6e12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.vincent.rsf.server.system.mapper;
 
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vincent.rsf.server.system.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
 
    List<User> selectPageRel(@Param("page") IPage<User> page, @Param("param") Map<String, Object> param);
 
    @InterceptorIgnore(tenantLine = "true")
    User selectByUsernameWithoutTenant(@Param("username") String username, @Param("tenantId") Long tenantId);
 
    @InterceptorIgnore(tenantLine = "true")
    User selectByEmailWithoutTenant(@Param("email") String email, @Param("tenantId") Long tenantId);
 
}