Showing
2 changed files
with
8 additions
and
0 deletions
common/data/src/main/java/org/thingsboard/server/common/data/yunteng/dto/TkDataViewInterfaceDTO.java
... | ... | @@ -42,6 +42,9 @@ public class TkDataViewInterfaceDTO extends TenantDTO { |
42 | 42 | @ApiModelProperty(value = "状态:0待发布 1已发布") |
43 | 43 | private Integer state; |
44 | 44 | |
45 | + @ApiModelProperty(value = "过滤脚本") | |
46 | + private String filter; | |
47 | + | |
45 | 48 | @ApiModelProperty(value = "接口描述") |
46 | 49 | private String remark; |
47 | 50 | } | ... | ... |
1 | 1 | package org.thingsboard.server.dao.yunteng.entities; |
2 | + | |
3 | +import com.baomidou.mybatisplus.annotation.FieldStrategy; | |
2 | 4 | import com.baomidou.mybatisplus.annotation.TableField; |
3 | 5 | import com.baomidou.mybatisplus.annotation.TableName; |
4 | 6 | import lombok.Data; |
... | ... | @@ -27,4 +29,7 @@ public class TkDataViewInterfaceEntity extends TenantBaseEntity { |
27 | 29 | |
28 | 30 | @TableField(typeHandler = EnumTypeHandler.class) |
29 | 31 | private TkSystemTypeEnum interfaceType; |
32 | + | |
33 | + @TableField(updateStrategy = FieldStrategy.IGNORED) | |
34 | + private String filter; | |
30 | 35 | } | ... | ... |