1821349743@qq.com
2023-02-20 059154a3b7d812b3bb4b89ecfa4d94f9b905f7e0
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
package com.product.server.report.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;
 
import java.util.List;
 
public interface IGenerateEChartService{
 
 
    /**
     *     多个图形报表
     * @param fse 配置报表
     * @return
     */
    JSONArray generatePieEChartMaster(FieldSetEntity fse)throws BaseException;
    /**
     *     单个图形报表
     * @param fse 配置报表
     * @return
     */
   JSONObject generatePieEChart(FieldSetEntity fse)throws BaseException;
 
    /**
     * 获取上级数据并拼装json
     * @param superiorUuid 上级uuid
     * @param obj
     * @return
     * @throws BaseException
     */
   void getAllProperties(String superiorUuid,JSONObject obj, JSONObject allProperties)throws BaseException;
 
    /**
     * 获取上级数据并拼装json
     * @param dataTableEntity 数据值data
     * @param
     * @return
     * @throws BaseException
     */
    JSONArray attributesAndValues(DataTableEntity dataTableEntity,List<String> keys,List<String> keys2,String type)throws BaseException;
 
    /**
     * 改变数据格式
     * @param attr_value 获取的数据值
     * @param
     * @return
     * @throws BaseException
     */
    Object changeDataFormat(String attr_value)throws BaseException;
 
    /**
     * 关系表
     * @param sql
     * @param
     * @return
     * @throws BaseException
     */
    JSONObject chooseRelationship(String sql)throws BaseException;
 
    /**
     * 通过配置表uuid获取js方法
     * @param uuid 配置表uuid
     * @param
     * @return
     * @throws BaseException
     */
     JSONArray functionArray(String uuid)throws BaseException;
 
    /**
     * 图表发布
     * @param fieldSetEntity
     * @param
     * @return
     * @throws BaseException
     */
    List<String> releaseConfig(FieldSetEntity fieldSetEntity,String module_uuid,String parentCode)throws BaseException;
 
    /**
     * 取消发布
     * @param fieldSetEntity
     * @param
     * @return
     * @throws BaseException
     */
    Boolean cancelRelease(FieldSetEntity fieldSetEntity)throws BaseException;
}