Commit 42f628f3 authored by wujipeng's avatar wujipeng
Browse files

增加元数据字段

parent 2aa7da43
......@@ -25,7 +25,7 @@ public class MetaDataEntity {
@ApiModelProperty(value = "值")
private Double value;
@ApiModelProperty(value = "复合")
@ApiModelProperty(value = "是否复合")
private Boolean reunite;
@ApiModelProperty(value = "公式")
......@@ -33,4 +33,10 @@ public class MetaDataEntity {
@ApiModelProperty(value = "属性")
private String attribute;
@ApiModelProperty(value = "是否隐藏")
private Boolean hidden;
@ApiModelProperty(value = "版本")
private String version;
}
......@@ -13,7 +13,7 @@
FROM meta_data m
INNER JOIN downstream d ON m.formula LIKE CONCAT('%{', d.id, '}%')
)
SELECT distinct * FROM downstream;
SELECT distinct * FROM downstream where hidden = 0;
</select>
<select id="getDownDataById" resultType="com.ruzhoukj.integration.pojo.vo.MetaDataVO">
WITH RECURSIVE downstream AS (
......@@ -43,6 +43,6 @@
FROM meta_data m
INNER JOIN downstream d ON d.formula LIKE CONCAT('%{', m.id, '}%')
)
SELECT * FROM downstream WHERE id != #{id}
SELECT * FROM downstream WHERE id != #{id} and hidden = 0
</select>
</mapper>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment