包名格式化
parent
0c1eff6a88
commit
972bd1bd3f
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSet.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.dataset.controller.dto;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.dto.DataSetParamDto;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.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.dataSet.controller.param;
|
package com.anjiplus.template.gaea.business.modules.dataset.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,8 +1,8 @@
|
|||||||
/**/
|
/**/
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSet.controller.param;
|
package com.anjiplus.template.gaea.business.modules.dataset.controller.param;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.dto.DataSetParamDto;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
@ -1,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSet.dao;
|
package com.anjiplus.template.gaea.business.modules.dataset.dao;
|
||||||
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSet.dao.entity.DataSet;
|
import com.anjiplus.template.gaea.business.modules.dataset.dao.entity.DataSet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DataSet Mapper
|
* DataSet Mapper
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.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.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.dataSet.controller.dto.DataSetDto;
|
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.DataSetDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSet.controller.dto.OriginalDataDto;
|
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.OriginalDataDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSet.controller.param.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.dataset.controller.param.DataSetParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSet.dao.entity.DataSet;
|
import com.anjiplus.template.gaea.business.modules.dataset.dao.entity.DataSet;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSetParam.controller;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.controller;
|
||||||
|
|
||||||
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.dataSetParam.controller.dto.DataSetParamDto;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.param.DataSetParamParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.param.DataSetParamParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.param.DataSetParamValidationParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.param.DataSetParamValidationParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.entity.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.service.DataSetParamService;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.service.DataSetParamService;
|
||||||
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.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSetParam.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.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.dataSetParam.controller.param;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.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,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSetParam.controller.param;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.controller.param;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSetParam.dao;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.dao;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.entity.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.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,10 +1,10 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSetParam.service;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.service;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.dto.DataSetParamDto;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.controller.param.DataSetParamParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.param.DataSetParamParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.entity.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.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.dataSetParam.controller.dto.DataSetParamDto;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.DataSetParamMapper;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.DataSetParamMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.dao.entity.DataSetParam;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetParam.service.DataSetParamService;
|
import com.anjiplus.template.gaea.business.modules.datasetparam.service.DataSetParamService;
|
||||||
import com.anjiplus.template.gaea.business.modules.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 com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSetParam.util;
|
package com.anjiplus.template.gaea.business.modules.datasetparam.util;
|
||||||
|
|
||||||
import org.springframework.util.PropertyPlaceholderHelper;
|
import org.springframework.util.PropertyPlaceholderHelper;
|
||||||
|
|
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSetTransform.controller;
|
package com.anjiplus.template.gaea.business.modules.datasettransform.controller;
|
||||||
|
|
||||||
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.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.param.DataSetTransformParam;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.param.DataSetTransformParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.dao.entity.DataSetTransform;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.service.DataSetTransformService;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.service.DataSetTransformService;
|
||||||
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.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.datasettransform.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.dataSetTransform.controller.param;
|
package com.anjiplus.template.gaea.business.modules.datasettransform.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.dataSetTransform.dao;
|
package com.anjiplus.template.gaea.business.modules.datasettransform.dao;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.dao.entity.DataSetTransform;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.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,11 +1,11 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSetTransform.service;
|
package com.anjiplus.template.gaea.business.modules.datasettransform.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.param.DataSetTransformParam;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.param.DataSetTransformParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.dao.entity.DataSetTransform;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.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.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.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.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.dao.DataSetTransformMapper;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.DataSetTransformMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.dao.entity.DataSetTransform;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.service.DataSetTransformService;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.service.DataSetTransformService;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.service.TransformStrategy;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.service.TransformStrategy;
|
||||||
import org.springframework.beans.BeansException;
|
import org.springframework.beans.BeansException;
|
||||||
import org.springframework.beans.factory.InitializingBean;
|
import org.springframework.beans.factory.InitializingBean;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,8 +1,8 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.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.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.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,10 +1,10 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.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.code.ResponseCode;
|
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.controller.dto.DataSetTransformDto;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSetTransform.service.TransformStrategy;
|
import com.anjiplus.template.gaea.business.modules.datasettransform.service.TransformStrategy;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
@ -1,4 +1,4 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.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.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,15 +1,15 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSource.controller;
|
package com.anjiplus.template.gaea.business.modules.datasource.controller;
|
||||||
|
|
||||||
import com.anji.plus.gaea.annotation.Permission;
|
import com.anji.plus.gaea.annotation.Permission;
|
||||||
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.dataSource.controller.dto.DataSourceDto;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.param.ConnectionParam;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.param.ConnectionParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.param.DataSourceParam;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.param.DataSourceParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.dao.entity.DataSource;
|
import com.anjiplus.template.gaea.business.modules.datasource.dao.entity.DataSource;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.service.DataSourceService;
|
import com.anjiplus.template.gaea.business.modules.datasource.service.DataSourceService;
|
||||||
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.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSource.controller.dto;
|
package com.anjiplus.template.gaea.business.modules.datasource.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.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.dataSource.controller.param;
|
package com.anjiplus.template.gaea.business.modules.datasource.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,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSource.dao;
|
package com.anjiplus.template.gaea.business.modules.datasource.dao;
|
||||||
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.dao.entity.DataSource;
|
import com.anjiplus.template.gaea.business.modules.datasource.dao.entity.DataSource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DataSource Mapper
|
* DataSource Mapper
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.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,13 +1,13 @@
|
|||||||
|
|
||||||
package com.anjiplus.template.gaea.business.modules.dataSource.service;
|
package com.anjiplus.template.gaea.business.modules.datasource.service;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSet.controller.dto.DataSetDto;
|
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.DataSetDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.dto.DataSourceDto;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.param.ConnectionParam;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.param.ConnectionParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.param.DataSourceParam;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.param.DataSourceParam;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.dao.entity.DataSource;
|
import com.anjiplus.template.gaea.business.modules.datasource.dao.entity.DataSource;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSource.service;
|
package com.anjiplus.template.gaea.business.modules.datasource.service;
|
||||||
|
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.dto.DataSourceDto;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
@ -1,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSource.service.impl;
|
package com.anjiplus.template.gaea.business.modules.datasource.service.impl;
|
||||||
|
|
||||||
import com.alibaba.druid.pool.DruidDataSource;
|
import com.alibaba.druid.pool.DruidDataSource;
|
||||||
import com.anjiplus.template.gaea.business.config.DruidProperties;
|
import com.anjiplus.template.gaea.business.config.DruidProperties;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.dto.DataSourceDto;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.service.JdbcService;
|
import com.anjiplus.template.gaea.business.modules.datasource.service.JdbcService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
@ -1,9 +1,9 @@
|
|||||||
package com.anjiplus.template.gaea.business.modules.dataSource.service.impl;
|
package com.anjiplus.template.gaea.business.modules.datasource.service.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.anjiplus.template.gaea.business.ReportApplication;
|
import com.anjiplus.template.gaea.business.ReportApplication;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.controller.dto.DataSourceDto;
|
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||||
import com.anjiplus.template.gaea.business.modules.dataSource.service.DataSourceService;
|
import com.anjiplus.template.gaea.business.modules.datasource.service.DataSourceService;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
Loading…
Reference in New Issue