【新增功能】 集成 tdengine
This commit is contained in:
parent
05c5482715
commit
61a0c05279
|
@ -2,13 +2,6 @@ package cn.iocoder.yudao.module.iot.domain;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ClassDescription: tdEngine的基础实体类
|
|
||||||
* @ClassName: BaseEntity
|
|
||||||
* @Author: fxlinks
|
|
||||||
* @Date: 2021-12-30 14:39:25
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class BaseEntity {
|
public class BaseEntity {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -2,13 +2,6 @@ package cn.iocoder.yudao.module.iot.domain;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ClassDescription: 建表的字段实体类
|
|
||||||
* @ClassName: Fields
|
|
||||||
* @Author: fxlinks
|
|
||||||
* @Date: 2021-12-28 09:09:04
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class Fields {
|
public class Fields {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -6,13 +6,6 @@ import java.sql.SQLException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ClassDescription: 建表的字段实体类的vo类
|
|
||||||
* @ClassName: FieldsVo
|
|
||||||
* @Author: fxlinks
|
|
||||||
* @Date: 2021-12-28 11:30:06
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class FieldsVo {
|
public class FieldsVo {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -32,13 +25,6 @@ public class FieldsVo {
|
||||||
*/
|
*/
|
||||||
private Integer size;
|
private Integer size;
|
||||||
|
|
||||||
/**
|
|
||||||
* @param fields 字段实体类
|
|
||||||
* @return FieldsVo 字段实体vo类
|
|
||||||
* @MethodDescription 字段实体类转为vo类
|
|
||||||
* @author fx
|
|
||||||
* @Date 2021/12/28 13:48
|
|
||||||
*/
|
|
||||||
public static FieldsVo fieldsTranscoding(Fields fields) throws SQLException {
|
public static FieldsVo fieldsTranscoding(Fields fields) throws SQLException {
|
||||||
// if (StringUtils.isBlank(fields.getFieldName()) || fields.getDataType() == null) {
|
// if (StringUtils.isBlank(fields.getFieldName()) || fields.getDataType() == null) {
|
||||||
// throw new SQLException("invalid operation: fieldName or dataType can not be null");
|
// throw new SQLException("invalid operation: fieldName or dataType can not be null");
|
||||||
|
@ -51,13 +37,6 @@ public class FieldsVo {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param fieldsList 字段实体类集合
|
|
||||||
* @return List<FieldsVo> 字段实体vo类集合
|
|
||||||
* @MethodDescription 字段实体类集合转为vo类集合
|
|
||||||
* @author fx
|
|
||||||
* @Date 2021/12/28 14:00
|
|
||||||
*/
|
|
||||||
public static List<FieldsVo> fieldsTranscoding(List<Fields> fieldsList) throws SQLException {
|
public static List<FieldsVo> fieldsTranscoding(List<Fields> fieldsList) throws SQLException {
|
||||||
List<FieldsVo> fieldsVoList = new ArrayList<>();
|
List<FieldsVo> fieldsVoList = new ArrayList<>();
|
||||||
for (Fields fields : fieldsList) {
|
for (Fields fields : fieldsList) {
|
||||||
|
|
|
@ -7,16 +7,6 @@ import java.sql.Timestamp;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
|
||||||
/**
|
|
||||||
* @Description: 产品超级表模型
|
|
||||||
* @Author: fx
|
|
||||||
* @Website: http://www.sxfxck.com
|
|
||||||
* @CreateDate: 2022/1/1$ 19:37$
|
|
||||||
* @UpdateUser: fx
|
|
||||||
* @UpdateDate: 2022/1/1$ 19:37$
|
|
||||||
* @UpdateRemark: 修改内容
|
|
||||||
* @Version: V1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class ProductSuperTableModel {
|
public class ProductSuperTableModel {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -4,13 +4,6 @@ import lombok.Data;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ClassDescription: 查询所需入参对象
|
|
||||||
* @ClassName: SelectDto
|
|
||||||
* @Author: fxlinks
|
|
||||||
* @Date: 2022-01-07 14:12:26
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class SelectDto {
|
public class SelectDto {
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,6 @@ import lombok.Data;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ClassDescription: 创建超级表需要的入参的实体类
|
|
||||||
* @ClassName: SuperTableDto
|
|
||||||
* @Author: fxlinks
|
|
||||||
* @Date: 2021-12-28 15:03:45
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class SuperTableDto extends BaseEntity {
|
public class SuperTableDto extends BaseEntity {
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,6 @@ import lombok.Data;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
* @ClassDescription: 创建超级表的子表需要的入参的实体类
|
|
||||||
* @ClassName: TableDto
|
|
||||||
* @Author: fxlinks
|
|
||||||
* @Date: 2021-12-30 14:42:47
|
|
||||||
* @Version 1.0
|
|
||||||
*/
|
|
||||||
@Data
|
@Data
|
||||||
public class TableDto extends BaseEntity {
|
public class TableDto extends BaseEntity {
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,6 @@ package cn.iocoder.yudao.module.iot.domain;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @program: fxlinks
|
|
||||||
* @description: 标签查询模型
|
|
||||||
* @packagename: com.fx.tdengine.api.domain.rule
|
|
||||||
* @author: fx
|
|
||||||
* @e-mainl: 13733918655@163.com
|
|
||||||
* @date: 2022-07-27 18:40
|
|
||||||
**/
|
|
||||||
@Data
|
@Data
|
||||||
public class TagsSelectDao {
|
public class TagsSelectDao {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue