Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
framework-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 14f60854
authored
Jul 16, 2024
by
henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据域统计接口
1 parent
51c1f487
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
framework-analysis/src/main/java/org/arch/analysis/controller/ArchMapController.java
framework-analysis/src/main/java/org/arch/analysis/dto/ArchMapDto.java
framework-analysis/src/main/resources/mapper/ArchMapMapp.xml
framework-analysis/src/main/java/org/arch/analysis/controller/ArchMapController.java
View file @
14f6085
...
...
@@ -36,7 +36,8 @@ public class ArchMapController {
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"获取总体业务架构资产信息"
,
moduleName
=
"架构地图"
)
public
Result
getOverAllBusAsset
(
@RequestBody
ArchMapDto
mapDto
)
{
String
parentAssetId
=
mapDto
.
getParentAssetId
();
if
(
StringUtils
.
isEmpty
(
parentAssetId
))
{
String
archiType
=
mapDto
.
getArchiType
();
if
(
StringUtils
.
isEmpty
(
archiType
)
&&
StringUtils
.
isEmpty
(
parentAssetId
))
{
throw
new
NullPointerException
(
"架构类型、架构层级及元素名称不能为空;"
);
}
List
<
ArchMapVo
>
resultDatas
=
archMapService
.
getOverAllBusAsset
(
mapDto
);
...
...
@@ -51,6 +52,7 @@ public class ArchMapController {
@PostMapping
(
"getOverAllAppAsset"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"获取总体应用架构资产信息"
,
moduleName
=
"架构地图"
)
public
Result
getOverAllAppAsset
()
{
return
null
;
}
...
...
framework-analysis/src/main/java/org/arch/analysis/dto/ArchMapDto.java
View file @
14f6085
...
...
@@ -19,10 +19,6 @@ public class ArchMapDto {
/**
* 架构类型
*/
private
String
archType
;
/**
* 架构类型
*/
private
String
archiType
;
/**
* 父级资产编号
...
...
framework-analysis/src/main/resources/mapper/ArchMapMapp.xml
View file @
14f6085
...
...
@@ -14,7 +14,7 @@
archi_asset_info n,
archi_element m
where
n.archi_type =
'ARCHI_BUSINESS'
n.archi_type =
#{archiType}
and n.archi_ele_id = m.element_id
<if
test=
"eaLevel!=null and eaLevel!=''"
>
and m.ea_level= #{eaLevel}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment