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