modules
parent
c51a993b17
commit
258f4e628e
@ -1,14 +1,45 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
base: '/doc/',
|
base: '/doc/',
|
||||||
title: '大屏设计',
|
title: '大屏设计',
|
||||||
description: '使用拖拽快速生成动态大屏报表',
|
description: '使用拖拽快速生成动态大屏报表',
|
||||||
dest: 'dist',
|
dest: 'dist',
|
||||||
lastUpdated: 'Last Updated',
|
lastUpdated: 'Last Updated',
|
||||||
theme: '',
|
theme: '',
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
logo: '/logo.png',
|
logo: '/logo.png',
|
||||||
smoothScroll: true,
|
smoothScroll: true,
|
||||||
sidebarDepth: 2,
|
sidebarDepth: 2,
|
||||||
|
nav: [
|
||||||
}
|
{text: '首页', link: '/'},
|
||||||
|
{text: '文档', link: '/guide/'},
|
||||||
|
{text: 'GitHub', link: 'https://github.com/anji-plus/report'},
|
||||||
|
{text: 'Gitee', link: 'https://gitee.com/anji-plus/report'},
|
||||||
|
],
|
||||||
|
sidebar: {
|
||||||
|
'/guide/': [
|
||||||
|
{
|
||||||
|
title: '文档',
|
||||||
|
collapsable: false,
|
||||||
|
children: [
|
||||||
|
{title: '介绍', path: '/guide/'},
|
||||||
|
{title: '快速了解', path: '/guide/quickly'},
|
||||||
|
{title: '项目介绍', path: '/guide/productintro'},
|
||||||
|
{title: '系统运行', path: '/guide/deploy'},
|
||||||
|
{title: '开发手册', path: '/guide/devdoc'}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '盖亚底盘',
|
||||||
|
collapsable: false,
|
||||||
|
children: []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '其他',
|
||||||
|
collapsable: false,
|
||||||
|
children: [
|
||||||
|
{title: '常见问题', path: '/guide/question'}
|
||||||
|
]
|
||||||
|
}],
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.controller;
|
package com.anjiplus.template.gaea.business.modules.dashboard.controller;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Permission;
|
import com.anji.plus.gaea.annotation.Permission;
|
||||||
import com.anji.plus.gaea.annotation.log.GaeaAuditLog;
|
import com.anji.plus.gaea.annotation.log.GaeaAuditLog;
|
||||||
import com.anji.plus.gaea.bean.ResponseBean;
|
import com.anji.plus.gaea.bean.ResponseBean;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.service.ReportDashboardService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ReportDashboardObjectDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.service.ReportDashboardService;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ReportDashboardObjectDto;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.dashboard.controller.dto;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.dashboard.controller.dto;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboardwidget.controller.dto.ReportDashboardWidgetDto;
|
import com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto.ReportDashboardWidgetDto;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.dashboard.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Unique;
|
import com.anji.plus.gaea.annotation.Unique;
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.service;
|
package com.anjiplus.template.gaea.business.modules.dashboard.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.service;
|
package com.anjiplus.template.gaea.business.modules.dashboard.service;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ReportDashboardObjectDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ReportDashboardObjectDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.param.ReportDashboardParam;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.param.ReportDashboardParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.dao.entity.ReportDashboard;
|
import com.anjiplus.template.gaea.business.modules.dashboard.dao.entity.ReportDashboard;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @desc ReportDashboard 大屏设计服务接口
|
* @desc ReportDashboard 大屏设计服务接口
|
@ -1,12 +1,10 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.service.ChartStrategy;
|
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,14 +1,11 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.service.ChartStrategy;
|
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 折柱图
|
* 折柱图
|
@ -1,8 +1,8 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.service.ChartStrategy;
|
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,8 +1,8 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.controller.dto.ChartDto;
|
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dashboard.service.ChartStrategy;
|
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dashboard.util;
|
package com.anjiplus.template.gaea.business.modules.dashboard.util;
|
||||||
|
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboardwidget.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboardwidget.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dashboardwidget.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
@ -1,17 +0,0 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.service;
|
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.controller.dto.ReportDto;
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.controller.param.ReportParam;
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.dao.entity.Report;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* TODO
|
|
||||||
*
|
|
||||||
* @author chenkening
|
|
||||||
* @date 2021/3/26 10:35
|
|
||||||
*/
|
|
||||||
public interface ReportService extends GaeaBaseService<ReportParam, Report> {
|
|
||||||
|
|
||||||
void delReport(ReportDto reportDto);
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSet.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.dataSet.controller.dto;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dataSet.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.dataSet.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Unique;
|
import com.anji.plus.gaea.annotation.Unique;
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dataSet.service;
|
package com.anjiplus.template.gaea.business.modules.dataSet.service;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.controller.dto.DataSetDto;
|
import com.anjiplus.template.gaea.business.modules.dataSet.controller.dto.DataSetDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.controller.dto.OriginalDataDto;
|
import com.anjiplus.template.gaea.business.modules.dataSet.controller.dto.OriginalDataDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.controller.param.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.dataSet.controller.param.DataSetParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.dao.entity.DataSet;
|
import com.anjiplus.template.gaea.business.modules.dataSet.dao.entity.DataSet;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetParam.controller.param;
|
package com.anjiplus.template.gaea.business.modules.dataSetParam.controller.param;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetParam.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.dataSetParam.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetParam.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dataSetParam.service.impl;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetParam.controller.dto.DataSetParamDto;
|
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.dto.DataSetParamDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetParam.dao.DataSetParamMapper;
|
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.DataSetParamMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetParam.dao.entity.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.entity.DataSetParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetParam.service.DataSetParamService;
|
import com.anjiplus.template.gaea.business.modules.dataSetParam.service.DataSetParamService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetParam.util.ParamsResolverHelper;
|
import com.anjiplus.template.gaea.business.modules.dataSetParam.util.ParamsResolverHelper;
|
||||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetParam.util;
|
package com.anjiplus.template.gaea.business.modules.dataSetParam.util;
|
||||||
|
|
||||||
import org.springframework.util.PropertyPlaceholderHelper;
|
import org.springframework.util.PropertyPlaceholderHelper;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetTransform.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.dataSetTransform.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetTransform.service;
|
package com.anjiplus.template.gaea.business.modules.dataSetTransform.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetTransform.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dataSetTransform.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetTransform.service.TransformStrategy;
|
import com.anjiplus.template.gaea.business.modules.dataSetTransform.service.TransformStrategy;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
@ -1,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSetTransform.service.impl;
|
package com.anjiplus.template.gaea.business.modules.dataSetTransform.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSetTransform.service.TransformStrategy;
|
import com.anjiplus.template.gaea.business.modules.dataSetTransform.service.TransformStrategy;
|
||||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||||
import jdk.nashorn.api.scripting.ScriptObjectMirror;
|
import jdk.nashorn.api.scripting.ScriptObjectMirror;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.config;
|
package com.anjiplus.template.gaea.business.modules.dataSource.config;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.config;
|
package com.anjiplus.template.gaea.business.modules.dataSource.config;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.controller.param;
|
package com.anjiplus.template.gaea.business.modules.dataSource.controller.param;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.dataSource.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Unique;
|
import com.anji.plus.gaea.annotation.Unique;
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 配置接口
|
* 配置接口
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.api;
|
||||||
|
|
||||||
import javax.sql.DataSource;
|
import javax.sql.DataSource;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生命周期管理
|
* 生命周期管理
|
@ -1,6 +1,6 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.api;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.connection.IPooledConnection;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.connection.IPooledConnection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 池化的接口
|
* 池化的接口
|
@ -1,6 +1,6 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.connection;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.connection;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api.IPooledDataSourceConfig;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.api.IPooledDataSourceConfig;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.connection;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.connection;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api.IPooledDataSourceConfig;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.api.IPooledDataSourceConfig;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.exception.JdbcPoolException;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.exception.JdbcPoolException;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.*;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.constant;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.constant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by raodeming on 2021/3/19.
|
* Created by raodeming on 2021/3/19.
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.constant;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.constant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 线程池常量
|
* 线程池常量
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author binbin.hou
|
* @author binbin.hou
|
@ -1,8 +1,8 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api.ILifeCycle;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.api.ILifeCycle;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api.IPooledDataSourceConfig;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.api.IPooledDataSourceConfig;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.constant.PooledConst;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.constant.PooledConst;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author binbin.hou
|
* @author binbin.hou
|
@ -1,6 +1,6 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.api.IDataSourceConfig;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.api.IDataSourceConfig;
|
||||||
|
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
@ -1,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.connection.IPooledConnection;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.connection.IPooledConnection;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.connection.PooledConnection;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.connection.PooledConnection;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.exception.JdbcPoolException;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.exception.JdbcPoolException;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.util.DriverClassUtil;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.util.DriverClassUtil;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.util.DriverClassUtil;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.util.DriverClassUtil;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.exception;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author binbin.hou
|
* @author binbin.hou
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.util;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by raodeming on 2021/3/19.
|
* Created by raodeming on 2021/3/19.
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.util;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.util;
|
||||||
|
|
||||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
@ -1,8 +1,8 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.dataSource.pool.util;
|
package com.anjiplus.template.gaea.business.modules.dataSource.pool.util;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.controller.dto.DataSourceDto;
|
import com.anjiplus.template.gaea.business.modules.dataSource.controller.dto.DataSourceDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource.PooledDataSource;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource.PooledDataSource;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSource.pool.datasource.UnPooledDataSource;
|
import com.anjiplus.template.gaea.business.modules.dataSource.pool.datasource.UnPooledDataSource;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.constant;
|
package com.anjiplus.template.gaea.business.modules.report.constant;
|
||||||
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
@ -1,14 +1,14 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.controller;
|
package com.anjiplus.template.gaea.business.modules.report.controller;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Permission;
|
import com.anji.plus.gaea.annotation.Permission;
|
||||||
import com.anji.plus.gaea.annotation.log.GaeaAuditLog;
|
import com.anji.plus.gaea.annotation.log.GaeaAuditLog;
|
||||||
import com.anji.plus.gaea.bean.ResponseBean;
|
import com.anji.plus.gaea.bean.ResponseBean;
|
||||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.controller.dto.ReportDto;
|
import com.anjiplus.template.gaea.business.modules.report.controller.dto.ReportDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.controller.param.ReportParam;
|
import com.anjiplus.template.gaea.business.modules.report.controller.param.ReportParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.dao.entity.Report;
|
import com.anjiplus.template.gaea.business.modules.report.dao.entity.Report;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.service.ReportService;
|
import com.anjiplus.template.gaea.business.modules.report.service.ReportService;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.report.controller.dto;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.controller.param;
|
package com.anjiplus.template.gaea.business.modules.report.controller.param;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Query;
|
import com.anji.plus.gaea.annotation.Query;
|
||||||
import com.anji.plus.gaea.constant.QueryEnum;
|
import com.anji.plus.gaea.constant.QueryEnum;
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.dao;
|
package com.anjiplus.template.gaea.business.modules.report.dao;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.dao.entity.Report;
|
import com.anjiplus.template.gaea.business.modules.report.dao.entity.Report;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO
|
* TODO
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.report.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Unique;
|
import com.anji.plus.gaea.annotation.Unique;
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
@ -0,0 +1,17 @@
|
|||||||
|
package com.anjiplus.template.gaea.business.modules.report.service;
|
||||||
|
|
||||||
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
|
import com.anjiplus.template.gaea.business.modules.report.controller.dto.ReportDto;
|
||||||
|
import com.anjiplus.template.gaea.business.modules.report.controller.param.ReportParam;
|
||||||
|
import com.anjiplus.template.gaea.business.modules.report.dao.entity.Report;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO
|
||||||
|
*
|
||||||
|
* @author chenkening
|
||||||
|
* @date 2021/3/26 10:35
|
||||||
|
*/
|
||||||
|
public interface ReportService extends GaeaBaseService<ReportParam, Report> {
|
||||||
|
|
||||||
|
void delReport(ReportDto reportDto);
|
||||||
|
}
|
@ -1,12 +1,12 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.report.service.impl;
|
package com.anjiplus.template.gaea.business.modules.report.service.impl;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.controller.dto.ReportDto;
|
import com.anjiplus.template.gaea.business.modules.report.controller.dto.ReportDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.dao.ReportMapper;
|
import com.anjiplus.template.gaea.business.modules.report.dao.ReportMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.dao.entity.Report;
|
import com.anjiplus.template.gaea.business.modules.report.dao.entity.Report;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.service.ReportService;
|
import com.anjiplus.template.gaea.business.modules.report.service.ReportService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.dao.ReportExcelMapper;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.dao.ReportExcelMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.dao.entity.ReportExcel;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.dao.entity.ReportExcel;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.reportexcel.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.reportexcel.controller.dto;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.data.reportexcel.controller.param;
|
package com.anjiplus.template.gaea.business.modules.reportexcel.controller.param;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.params.PageParam;
|
import com.anji.plus.gaea.curd.params.PageParam;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.reportexcel.dao;
|
package com.anjiplus.template.gaea.business.modules.reportexcel.dao;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.dao.entity.ReportExcel;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.dao.entity.ReportExcel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author chenkening
|
* @author chenkening
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.reportexcel.dao.entity;
|
package com.anjiplus.template.gaea.business.modules.reportexcel.dao.entity;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
@ -1,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.reportexcel.service;
|
package com.anjiplus.template.gaea.business.modules.reportexcel.service;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.controller.dto.ReportExcelDto;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.controller.dto.ReportExcelDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.controller.param.ReportExcelParam;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.controller.param.ReportExcelParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.dao.entity.ReportExcel;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.dao.entity.ReportExcel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO
|
* TODO
|
@ -1,15 +1,15 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.data.reportexcel.util;
|
package com.anjiplus.template.gaea.business.modules.reportexcel.util;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.alibaba.fastjson.parser.Feature;
|
import com.alibaba.fastjson.parser.Feature;
|
||||||
import com.anji.plus.gaea.export.utils.QrCodeOrBarCodeUtil;
|
import com.anji.plus.gaea.export.utils.QrCodeOrBarCodeUtil;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.controller.dto.DataSetDto;
|
import com.anjiplus.template.gaea.business.modules.dataSet.controller.dto.DataSetDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.controller.dto.OriginalDataDto;
|
import com.anjiplus.template.gaea.business.modules.dataSet.controller.dto.OriginalDataDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.dataSet.service.DataSetService;
|
import com.anjiplus.template.gaea.business.modules.dataSet.service.DataSetService;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.report.constant.ExpConstant;
|
import com.anjiplus.template.gaea.business.modules.report.constant.ExpConstant;
|
||||||
import com.anjiplus.template.gaea.business.modules.data.reportexcel.controller.dto.ReportExcelDto;
|
import com.anjiplus.template.gaea.business.modules.reportexcel.controller.dto.ReportExcelDto;
|
||||||
import freemarker.template.Configuration;
|
import freemarker.template.Configuration;
|
||||||
import freemarker.template.Template;
|
import freemarker.template.Template;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue