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;
|
}
|