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 084a0d1f
authored
Jul 11, 2024
by
henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志
1 parent
bd7387a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
framework-asset/src/main/java/org/arch/overall/controller/ArchiViewDetailController.java
framework-asset/src/main/java/org/arch/overall/controller/ArchiViewDetailController.java
View file @
084a0d1
...
@@ -34,21 +34,21 @@ public class ArchiViewDetailController {
...
@@ -34,21 +34,21 @@ public class ArchiViewDetailController {
@ApiOperation
(
value
=
"分页列表"
)
@ApiOperation
(
value
=
"分页列表"
)
@PostMapping
(
value
=
"/"
)
@PostMapping
(
value
=
"/"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"分页列表"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"分页列表"
,
moduleName
=
"
总体架构维护
"
)
public
Result
gtArchiMetaModel
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
public
Result
gtArchiMetaModel
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
return
Result
.
success
(
archiViewDetailsService
.
page
(
dto
));
return
Result
.
success
(
archiViewDetailsService
.
page
(
dto
));
}
}
@ApiOperation
(
value
=
"新增"
)
@ApiOperation
(
value
=
"新增"
)
@PostMapping
(
value
=
"/cViewDetail"
)
@PostMapping
(
value
=
"/cViewDetail"
)
@OperLog
(
value
=
LogOperTypeEnum
.
ADD
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"新增"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
ADD
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"新增"
,
moduleName
=
"
总体架构维护
"
)
public
Result
create
(
@RequestBody
@Validated
ArchiViewDetailsDTO
model
)
{
public
Result
create
(
@RequestBody
@Validated
ArchiViewDetailsDTO
model
)
{
return
Result
.
success
(
archiViewDetailsService
.
insert
(
model
));
return
Result
.
success
(
archiViewDetailsService
.
insert
(
model
));
}
}
@ApiOperation
(
value
=
"详情"
)
@ApiOperation
(
value
=
"详情"
)
@PostMapping
(
value
=
"/iViewDetail"
)
@PostMapping
(
value
=
"/iViewDetail"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"详情"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"详情"
,
moduleName
=
"
总体架构维护
"
)
public
Result
info
(
@RequestBody
@Validated
ArchiViewDetailsDTO
model
)
{
public
Result
info
(
@RequestBody
@Validated
ArchiViewDetailsDTO
model
)
{
return
Result
.
success
(
archiViewDetailsService
.
info
(
model
));
return
Result
.
success
(
archiViewDetailsService
.
info
(
model
));
}
}
...
@@ -57,7 +57,7 @@ public class ArchiViewDetailController {
...
@@ -57,7 +57,7 @@ public class ArchiViewDetailController {
@PostMapping
(
value
=
"/uViewDetail"
)
@PostMapping
(
value
=
"/uViewDetail"
)
//@Lock4j(keys = {"#model.viewDetailsId"})
//@Lock4j(keys = {"#model.viewDetailsId"})
//@AutoLog(value = LogEventTypeEnum.UPDATE, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.MIDDLE)
//@AutoLog(value = LogEventTypeEnum.UPDATE, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.MIDDLE)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"发布"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"发布"
,
moduleName
=
"
总体架构维护
"
)
public
Result
update
(
@RequestBody
@Validated
ArchiViewDetailsDTO
model
)
{
public
Result
update
(
@RequestBody
@Validated
ArchiViewDetailsDTO
model
)
{
return
Result
.
success
(
archiViewDetailsService
.
update
(
model
));
return
Result
.
success
(
archiViewDetailsService
.
update
(
model
));
}
}
...
@@ -65,7 +65,7 @@ public class ArchiViewDetailController {
...
@@ -65,7 +65,7 @@ public class ArchiViewDetailController {
@ApiOperation
(
value
=
"更新画布"
)
@ApiOperation
(
value
=
"更新画布"
)
@PostMapping
(
value
=
"/upMxGraph"
)
@PostMapping
(
value
=
"/upMxGraph"
)
//@AutoLog(value = LogEventTypeEnum.UPDATE, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.MIDDLE)
//@AutoLog(value = LogEventTypeEnum.UPDATE, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.MIDDLE)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"更新画布"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"更新画布"
,
moduleName
=
"
总体架构维护
"
)
public
Result
updateMxGraph
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
public
Result
updateMxGraph
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
return
Result
.
success
(
archiViewDetailsService
.
updateMxGraphModel
(
dto
));
return
Result
.
success
(
archiViewDetailsService
.
updateMxGraphModel
(
dto
));
...
@@ -73,14 +73,14 @@ public class ArchiViewDetailController {
...
@@ -73,14 +73,14 @@ public class ArchiViewDetailController {
@ApiOperation
(
value
=
"树形列表"
)
@ApiOperation
(
value
=
"树形列表"
)
@PostMapping
(
"/qViewTree"
)
@PostMapping
(
"/qViewTree"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"树形列表"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"树形列表"
,
moduleName
=
"
总体架构维护
"
)
public
Result
list
(
@RequestBody
ArchiViewDTO
model
)
{
public
Result
list
(
@RequestBody
ArchiViewDTO
model
)
{
return
Result
.
success
(
archiViewDetailsService
.
treeList
(
model
));
return
Result
.
success
(
archiViewDetailsService
.
treeList
(
model
));
}
}
@ApiOperation
(
value
=
"结构化数据"
)
@ApiOperation
(
value
=
"结构化数据"
)
@PostMapping
(
"/fdVd"
)
@PostMapping
(
"/fdVd"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"结构化数据"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"结构化数据"
,
moduleName
=
"
总体架构维护
"
)
public
Result
fdVd
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
public
Result
fdVd
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
return
Result
.
success
(
archiViewDetailsService
.
getMxCellByViewDetailId
(
dto
));
return
Result
.
success
(
archiViewDetailsService
.
getMxCellByViewDetailId
(
dto
));
}
}
...
@@ -88,7 +88,7 @@ public class ArchiViewDetailController {
...
@@ -88,7 +88,7 @@ public class ArchiViewDetailController {
@ApiOperation
(
value
=
"结构化数据Tree"
)
@ApiOperation
(
value
=
"结构化数据Tree"
)
@PostMapping
(
"/fdBmdTree"
)
@PostMapping
(
"/fdBmdTree"
)
// @AutoLog(value = LogEventTypeEnum.SEARCH, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.LOW)
// @AutoLog(value = LogEventTypeEnum.SEARCH, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.LOW)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"结构化数据Tree"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"结构化数据Tree"
,
moduleName
=
"
总体架构维护
"
)
public
Result
getMxCellTreeByViewDetailId
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
public
Result
getMxCellTreeByViewDetailId
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
return
Result
.
success
(
archiViewDetailsService
.
getMxCellTreeByViewDetailId
(
dto
));
return
Result
.
success
(
archiViewDetailsService
.
getMxCellTreeByViewDetailId
(
dto
));
}
}
...
@@ -96,7 +96,7 @@ public class ArchiViewDetailController {
...
@@ -96,7 +96,7 @@ public class ArchiViewDetailController {
@ApiOperation
(
value
=
"结构化数据Table"
)
@ApiOperation
(
value
=
"结构化数据Table"
)
@PostMapping
(
"/fdBmdTable"
)
@PostMapping
(
"/fdBmdTable"
)
//@AutoLog(value = LogEventTypeEnum.SEARCH, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.LOW)
//@AutoLog(value = LogEventTypeEnum.SEARCH, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.LOW)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"结构化数据Table"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"结构化数据Table"
,
moduleName
=
"
总体架构维护
"
)
public
Result
fdBmdTree
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
public
Result
fdBmdTree
(
@RequestBody
ArchiViewDetailsDTO
dto
)
{
return
Result
.
success
(
archiViewDetailsService
.
getDynamicTable
(
dto
));
return
Result
.
success
(
archiViewDetailsService
.
getDynamicTable
(
dto
));
}
}
...
@@ -104,7 +104,7 @@ public class ArchiViewDetailController {
...
@@ -104,7 +104,7 @@ public class ArchiViewDetailController {
@ApiOperation
(
value
=
"删除"
)
@ApiOperation
(
value
=
"删除"
)
@PostMapping
(
value
=
"/del"
)
@PostMapping
(
value
=
"/del"
)
//@AutoLog(value = LogEventTypeEnum.DELETE, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.HIGH)
//@AutoLog(value = LogEventTypeEnum.DELETE, LogTypeValue = LogTypeEnum.BUSI_LOG, LogLevValue = LogLevEnum.HIGH)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"删除"
,
moduleName
=
"
架构视图详情
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"删除"
,
moduleName
=
"
总体架构维护
"
)
public
Result
delete
(
@RequestBody
@Validated
BathRemoveDTO
model
)
{
public
Result
delete
(
@RequestBody
@Validated
BathRemoveDTO
model
)
{
return
archiViewDetailsService
.
del
(
model
)
?
Result
.
success
(
"删除成功"
)
:
Result
.
error
(
"删除失败"
);
return
archiViewDetailsService
.
del
(
model
)
?
Result
.
success
(
"删除成功"
)
:
Result
.
error
(
"删除失败"
);
}
}
...
...
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