zhangherong
2025-06-12 6abc1a2fb78003bb1ea6283d813b8ccc0bcd9b2b
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
71
package org.jeecg.modules.base.service;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.system.vo.SelectTreeModel;
import org.jeecg.modules.base.entity.WorkCenterDetail;
import org.jeecg.modules.base.entity.WorkCenterUser;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
import java.util.Map;
 
/**
 * @Description: mom_base_work_center_user
 * @Author: jeecg-boot
 * @Date:   2022-12-06
 * @Version: V1.0
 */
public interface IWorkCenterUserService extends IService<WorkCenterUser> {
    /**
     * 列表查询
     *
     * @param page
     * @param workCenterId
     * @param
     * @return
     */
    Page<Map<String,Object>> listByWorkCenterId(Page<Map<String,Object>> page, String workCenterId);
    /**
     * 添加分配人员
     *
     * @param page
     * @param departId
     * @param userIdList
     * @return
     */
    Page<Map<String,Object>> getAddUserList(Page<Map<String,Object>> page,String departId,
                                            List<String> userIdList);
 
    /**
     * 查尚未分配的本部门人员
     *
     * @param page
     * @param departId
     * @param userIdList
     * @return
     */
    Page<Map<String,Object>> getUserList (Page<Map<String,Object>> page,
                                          List<String> userIdList,
                                          String departId
    );
    /**
     * 获取外借人员部门树
     *
     * @param enterpriseId
     * @param departId
     * @return
     */
    public List<SelectTreeModel> getDepartTreeByEnterpriseId(String enterpriseId,String departId,Integer version);
    /**
     * 获取外借人员部门树
     * @param  page
     * @param enterpriseId
     * @param userIdList
     * @return
     */
    Page<Map<String,Object>> listByEnterpriseId(Page<Map<String,Object>> page,
                                                String enterpriseId,
                                                List<String> userIdList,
                                                String departId);
}