shichongfu
2023-04-25 ce0b49552668d3331055e2b1a1447a743dc54939
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.product.admin.service.idel;
 
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.product.core.entity.DataTableEntity;
import com.product.core.entity.FieldSetEntity;
import com.product.core.exception.BaseException;
 
/**
 * @Title: 选择人员 service 接口层
 * @Date: 2020年8月26日 17:30:56
 * @Author: luoxin
 * @Description:
 */
public interface ISelectPersonnelService {
  /**
   * 获取组织架构树
   * @param uuid 公司uuid
   * @throws BaseException
   * @return 组织架构树JSON
   */
  JSONObject getOrganizationStructureTree(String uuid) throws BaseException;
 
  /**
   * 根据公司或部门uuid获取人员
   * @param tableName 表名
   * @param uuid 公司或部门uuid
   * @throws BaseException
   * @return 人员集合
   */
  JSONArray getOrganizationThoseWho(String tableName,String uuid) throws BaseException;
 
  /**
   * 获取个人组并解析保存
   * @param fse 组信息
   * @throws BaseException
   * @return 组uuid
   */
   String savePersonageTheGroup(FieldSetEntity fse)throws BaseException;
 
  /**
   * 获取公司并解析保存
   * @param fse 组信息
   * @throws BaseException
   * @return 组uuid
   */
  String saveCompanyTheGroup(FieldSetEntity fse)throws BaseException;
 
  /**
   * 删除组
   * @param fse 集合
   * @throws BaseException
   * @return boolean
   */
  boolean deleteTheGroup(FieldSetEntity fse)throws BaseException;
 
  /**
   * 点击组获取组员工信息
   * @param fse 组信息
   * @throws BaseException
   * @return 员工集合
   */
   DataTableEntity getTheGroup(FieldSetEntity fse)throws BaseException;
 
  /**
   * 获取当前用户和公司组
   * @param fse 组信息
   * @throws BaseException
   * @return 组集合
   */
   DataTableEntity listAllGroup(FieldSetEntity fse)throws BaseException;
 
 
  /**
   * 获取公司组
   * @param fse 组信息
   * @throws BaseException
   * @return 组集合
   */
  JSONObject listCompanyGroup(FieldSetEntity fse)throws BaseException;
 
  /**
   * 获取公司组详情
   * @param fse 组信息
   * @throws BaseException
   * @return 组集合
   */
  FieldSetEntity getCompanyGroupInfo(FieldSetEntity fse)throws BaseException;
 
  /**
   * 保存当前组织架构信息及人员信息
   * @param fse 组信息
   * @throws BaseException
   * @return 字段组织架构储存表uuid
   */
   String saveOrganization(FieldSetEntity fse)throws BaseException;
 
  /**
   * 根据uuid获取已经选择的组织架构
   * @param fse 组织架构
   * @throws BaseException
   * @return 该字段对应的组织架构存储表
   */
   JSONArray getAtPresentOrganization(FieldSetEntity fse)throws BaseException;
}