杜洪波
2025-05-14 9db1c6c261049fbdcb104e6c0e07fa544bb42013
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package com.product.administration.service.ide;
 
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.entity.RequestParameterEntity;
import com.product.core.exception.BaseException;
 
import javax.servlet.http.HttpServletResponse;
import java.util.Map;
 
public interface ITargetManagerService {
    /**
     * 查询功能字段 field_type = datetime,userid
     *
     * @param tableName
     * @return
     * @throws BaseException
     */
    Map<String, Object> getFieldsByTableName(String tableName) throws BaseException;
 
    /**
     * 指标分类树
     *
     * @return
     * @throws BaseException
     */
    JSONArray getTargetClassifyTree() throws BaseException;
 
    /**
     * 保存指标分类
     *
     * @param fse
     * @return
     * @throws BaseException
     */
    String saveTargetClassify(FieldSetEntity fse) throws BaseException;
 
    /**
     * 删除指标分类
     *
     * @param uuid
     * @throws BaseException
     */
    void deleteTargetClassify(String uuid) throws BaseException;
 
    /**
     * 查询指标库详情
     *
     * @param uuid
     * @return
     * @throws BaseException
     */
    FieldSetEntity findTargetBasicByUuid(String uuid) throws BaseException;
 
    /**
     * 保存指标基础库
     *
     * @param fse
     * @return
     * @throws BaseException
     */
    String saveTargetBasic(FieldSetEntity fse) throws BaseException;
 
    /**
     * 删除指标基础库
     *
     * @param uuids
     * @throws BaseException
     */
    void deleteTargetBasic(String[] uuids) throws BaseException;
 
 
    String saveAssignTargetTask(FieldSetEntity fse);
 
    JSONArray importData(RequestParameterEntity rpe);
 
    FieldSetEntity findAssignTargetTask(FieldSetEntity fse);
 
    /**
     * 获取指标名称 (指标下达左侧树)
     *
     * @return
     * @throws BaseException
     */
    DataTableEntity getTargetNameList() throws BaseException;
 
    /**
     * 获取指标配置 公司过滤
     * 用于指标下达
     *
     * @return
     * @throws BaseException
     */
    DataTableEntity getTargetBasicTree() throws BaseException;
 
 
    DataTableEntity listMyTargetTask(FieldSetEntity fse);
 
    DataTableEntity listSubordinateTargetTask(FieldSetEntity fse);
 
    FieldSetEntity findProgressReport(FieldSetEntity fse);
 
    DataTableEntity listProgressReport(FieldSetEntity fse);
 
    String saveProgressSend(FieldSetEntity fse);
 
    String saveProgressScore(FieldSetEntity fse);
 
    JSONObject getTargetInfo(FieldSetEntity fse);
 
    String saveTargetReportConfig(FieldSetEntity fse);
 
    void delReportConfig(FieldSetEntity fse);
 
    FieldSetEntity findReportConfig(FieldSetEntity fse) throws BaseException;
 
    String saveTargetResponsible(FieldSetEntity fse);
 
    JSONObject getTargetReportHtml(FieldSetEntity fse);
 
    void exportTargetReport(FieldSetEntity fse, HttpServletResponse response);
 
    DataTableEntity getTargetCoreStatisticsConfig() throws BaseException;
 
    DataTableEntity findTargetCoreStatisticsConfig() throws BaseException;
 
    void saveTargetCoreStatisticsConfig(DataTableEntity dt) throws BaseException;
 
}