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
80c9f00c
Commit
80c9f00c
authored
Feb 27, 2026
by
wujipeng
Browse files
元数据详情
parent
42f628f3
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/integration/controller/MetaDataController.java
View file @
80c9f00c
...
@@ -37,5 +37,11 @@ public class MetaDataController {
...
@@ -37,5 +37,11 @@ public class MetaDataController {
return
Result
.
success
(
metaDataService
.
getDownDataById
(
id
));
return
Result
.
success
(
metaDataService
.
getDownDataById
(
id
));
}
}
@ApiOperation
(
"详情"
)
@GetMapping
(
"/detail/{id}"
)
public
Result
<
MetaDataVO
>
detail
(
@PathVariable
String
id
)
{
return
Result
.
success
(
metaDataService
.
detail
(
id
));
}
}
}
src/main/java/com/ruzhoukj/integration/mapper/MetaDataMapper.java
View file @
80c9f00c
...
@@ -19,4 +19,6 @@ public interface MetaDataMapper extends BaseMapper<MetaDataEntity> {
...
@@ -19,4 +19,6 @@ public interface MetaDataMapper extends BaseMapper<MetaDataEntity> {
List
<
MetaDataVO
>
getUpDataById
(
@Param
(
"id"
)
String
id
);
List
<
MetaDataVO
>
getUpDataById
(
@Param
(
"id"
)
String
id
);
List
<
MetaDataVO
>
getDownDataById
(
@Param
(
"id"
)
String
id
);
List
<
MetaDataVO
>
getDownDataById
(
@Param
(
"id"
)
String
id
);
MetaDataVO
detail
(
@Param
(
"id"
)
String
id
);
}
}
src/main/java/com/ruzhoukj/integration/service/MetaDataService.java
View file @
80c9f00c
...
@@ -18,4 +18,6 @@ public interface MetaDataService extends IService<MetaDataEntity> {
...
@@ -18,4 +18,6 @@ public interface MetaDataService extends IService<MetaDataEntity> {
List
<
MetaDataVO
>
getDownDataById
(
String
id
);
List
<
MetaDataVO
>
getDownDataById
(
String
id
);
MetaDataVO
detail
(
String
id
);
}
}
src/main/java/com/ruzhoukj/integration/service/impl/MetaDataServiceImpl.java
View file @
80c9f00c
...
@@ -26,4 +26,9 @@ public class MetaDataServiceImpl extends ServiceImpl<MetaDataMapper, MetaDataEnt
...
@@ -26,4 +26,9 @@ public class MetaDataServiceImpl extends ServiceImpl<MetaDataMapper, MetaDataEnt
public
List
<
MetaDataVO
>
getDownDataById
(
String
id
)
{
public
List
<
MetaDataVO
>
getDownDataById
(
String
id
)
{
return
baseMapper
.
getDownDataById
(
id
);
return
baseMapper
.
getDownDataById
(
id
);
}
}
@Override
public
MetaDataVO
detail
(
String
id
)
{
return
baseMapper
.
detail
(
id
);
}
}
}
src/main/resources/com/ruzhoukj/integration/mapper/MetaDataMapper.xml
View file @
80c9f00c
...
@@ -45,4 +45,18 @@
...
@@ -45,4 +45,18 @@
)
)
SELECT * FROM downstream WHERE id != #{id} and hidden = 0
SELECT * FROM downstream WHERE id != #{id} and hidden = 0
</select>
</select>
<select
id=
"detail"
resultType=
"com.ruzhoukj.integration.pojo.vo.MetaDataVO"
>
select id,
name,
value,
reunite,
formula,
attribute,
hidden,
version
from
meta_data
where
id = #{id}
</select>
</mapper>
</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