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
f9eb068e
Commit
f9eb068e
authored
Feb 27, 2026
by
wujipeng
Browse files
依赖版本更新
parent
aefb7e73
Changes
2
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
f9eb068e
...
@@ -23,30 +23,21 @@
...
@@ -23,30 +23,21 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.mysql
</groupId>
<groupId>
com.mysql
</groupId>
<artifactId>
mysql-connector-j
</artifactId>
<artifactId>
mysql-connector-j
</artifactId>
<
scope>
runtime
</scope
>
<
version>
9.6.0
</version
>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.ruzhoukj
</groupId>
<groupId>
com.ruzhoukj
</groupId>
<artifactId>
common-swagger
</artifactId>
<artifactId>
common-swagger
</artifactId>
<version>
1.0.0
</version>
<version>
1.0.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<version>
3.4.0
</version>
<version>
3.5.16
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
...
...
src/main/resources/com/ruzhoukj/integration/mapper/MetaDataMapper.xml
View file @
f9eb068e
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<select
id=
"getUpDataById"
resultType=
"com.ruzhoukj.integration.pojo.vo.MetaDataVO"
>
<select
id=
"getUpDataById"
resultType=
"com.ruzhoukj.integration.pojo.vo.MetaDataVO"
>
WITH RECURSIVE downstream AS (
WITH RECURSIVE downstream AS (
SELECT id, name, value, reunite, formula, attribute
SELECT id, name, value, reunite, formula, attribute
, hidden, version
FROM meta_data
FROM meta_data
WHERE formula LIKE '%{' #{id} '}%'
WHERE formula LIKE '%{' #{id} '}%'
UNION ALL
UNION ALL
SELECT m.id, m.name, m.value, m.reunite, m.formula, m.attribute
SELECT m.id, m.name, m.value, m.reunite, m.formula, m.attribute
, m.hidden, m.version
FROM meta_data m
FROM meta_data m
INNER JOIN downstream d ON m.formula LIKE CONCAT('%{', d.id, '}%')
INNER JOIN downstream d ON m.formula LIKE CONCAT('%{', d.id, '}%')
)
)
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
reunite,
reunite,
formula,
formula,
attribute,
attribute,
hidden,
version,
0 AS level,
0 AS level,
CAST(NULL AS CHAR(256)) AS parent_id
CAST(NULL AS CHAR(256)) AS parent_id
FROM meta_data
FROM meta_data
...
@@ -36,6 +38,8 @@
...
@@ -36,6 +38,8 @@
m.reunite,
m.reunite,
m.formula,
m.formula,
m.attribute,
m.attribute,
m.hidden,
m.version,
d.level + 1 AS level,
d.level + 1 AS level,
d.id AS parent_id
d.id AS parent_id
FROM meta_data m
FROM meta_data m
...
...
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