Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
integration
Commits
42f628f3
Commit
42f628f3
authored
Feb 27, 2026
by
wujipeng
Browse files
增加元数据字段
parent
2aa7da43
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/integration/pojo/entity/MetaDataEntity.java
View file @
42f628f3
...
...
@@ -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
;
}
src/main/resources/com/ruzhoukj/integration/mapper/MetaDataMapper.xml
View file @
42f628f3
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment