智慧保安后台管理-外网项目备份
guoshilong
2024-01-20 5e3faa196ec93a8d1b983f50b3cd30d98c4e708a
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
27
28
29
30
31
32
package org.springblade.modules.system.mapper;
 
import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.system.entity.User;
import org.springblade.modules.system.entity.UserWx;
import org.springblade.modules.system.excel.UserExcel;
import org.springblade.modules.system.excel.UserWxExcel;
import org.springblade.modules.system.vo.UserVO;
 
import java.util.List;
import java.util.Map;
 
public interface UserWxMapper extends BaseMapper<UserWx> {
    UserWx getUserWx(String tenantId, String account, String password);
 
    List<UserVO> selectUserPage(IPage<UserVO> page, User user, List<Long> deptIdList, String tenantId);
 
    /**
     * 查询当前部门名称及父级部门名称
     * @param deptId 部门名称
     * @return
     */
    @SqlParser(filter = true)
    List<String> getDeptName(@Param("deptId") String deptId);
 
    UserVO getUserDetailById(Long id);
 
    List<UserWxExcel> exportUser(@Param("obj") Map<String, Object> param);
}