puzhibing
2024-01-24 8da101629c47cec91d68f785b0f5e829d4a9bab1
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package com.ruoyi.system.mapper.staff;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.dto.MgtStaffPageDto;
import com.ruoyi.system.api.domain.poji.sys.SysStaff;
import com.ruoyi.system.domain.vo.DeptSimpleVo;
import com.ruoyi.system.domain.vo.MgtDeptStaffListVo;
import com.ruoyi.system.domain.vo.MgtStaffPageVo;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * <p>
 * 平台员工 Mapper 接口
 * </p>
 *
 * @author jqs
 * @since 2023-06-13
 */
public interface SysStaffMapper extends BaseMapper<SysStaff> {
 
    /**
     * @description  获取部门员工列表
     * @author  jqs
     * @date    2023/6/13 10:14
     * @param
     * @return  List<MgtDeptStaffListVo>
     */
    List<MgtDeptStaffListVo> listMgtDeptStaff(@Param("deptId") Long deptId,@Param("userId")Long userId);
 
    /**
     * @description  获取部门员工列表
     * @author  jqs
     * @date    2023/6/13 10:14
     * @param
     * @return  List<MgtDeptStaffListVo>
     */
    List<MgtDeptStaffListVo> listMgtDeptStaffByDept(@Param("deptId") Long deptId,@Param("userId") Long userId);
 
    /**
     * @description
     * @author  jqs
     * @date    2023/6/25 17:52
     * @param page
     * @param mgtStaffPageDto
     * @return  List<MgtStaffPageVo>
     */
    List<MgtStaffPageVo> pageMgtStaff(Page page, @Param("param")MgtStaffPageDto mgtStaffPageDto);
 
    /**
     * @description
     * @author  jqs
     * @date    2023/8/27 17:46
     * @param
     * @return  List<DeptSimpleVo>
     */
    List<DeptSimpleVo> listSimpleDept();
 
 
    /**
     * @description  通过id获取员工列表
     * @author  jqs
     * @date    2023/9/5 10:02
     * @param userIdList
     * @return  List<SysStaff>
     */
    List<SysStaff> listSysStaffByIds(@Param("userIdList")List<Long> userIdList);
}