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 91d6729c
authored
Jul 10, 2024
by
renrui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.97.176.204:19000/root/framework-tools
2 parents
db38b439
c4c25758
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/ArchiAssetSysController.java
framework-asset/src/main/java/org/arch/overall/controller/ArchiAssetSysController.java
View file @
91d6729
...
...
@@ -18,13 +18,13 @@ import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 系统架构资产 前端控制器
* 系统架构资产
管理
前端控制器
* </p>
*
* @author author
* @since 2024-01-09
*/
@Api
(
value
=
"/arc-ast-sys"
,
tags
=
{
"系统架构资产"
})
@Api
(
value
=
"/arc-ast-sys"
,
tags
=
{
"系统架构资产
管理
"
})
@RestController
@RequestMapping
(
"/arc-ast-sys"
)
public
class
ArchiAssetSysController
{
...
...
@@ -34,14 +34,14 @@ public class ArchiAssetSysController {
@ApiOperation
(
"分页查询"
)
@PostMapping
(
value
=
"/"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"分页查询
"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"分页查询
系统架构资产信息"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
iPage
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
iPage
(
params
));
}
@ApiOperation
(
"列表查询"
)
@PostMapping
(
value
=
"/assetList"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"列表查询
"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"列表查询
系统架构资产信息"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
assetList
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
assetList
(
params
));
...
...
@@ -49,42 +49,42 @@ public class ArchiAssetSysController {
@ApiOperation
(
value
=
"新增"
,
notes
=
"新增"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/ad"
)
@OperLog
(
value
=
LogOperTypeEnum
.
ADD
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"新增
"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
ADD
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"新增
系统架构资产数据"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
create
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
inster
(
params
));
}
@ApiOperation
(
value
=
"修改"
,
notes
=
"修改"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/upd"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"修改
"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"修改
系统架构资产数据"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
update
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
update
(
params
));
}
@PostMapping
(
value
=
"/delBatch"
)
@ApiOperation
(
value
=
"批量删除"
,
notes
=
"批量删除"
,
httpMethod
=
"POST"
)
@OperLog
(
value
=
LogOperTypeEnum
.
DELETE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"批量删除
"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
DELETE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"批量删除
系统架构资产数据"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
delBatch
(
@RequestBody
DelDTO
requestMap
)
{
return
archiAssetSysService
.
delBatch
(
requestMap
)
?
Result
.
success
(
"删除成功"
)
:
Result
.
error
(
"删除失败"
);
}
@ApiOperation
(
value
=
"继承"
,
notes
=
"继承"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/extend"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"继承"
,
moduleName
=
"系统架构资产"
)
@OperLog
(
value
=
LogOperTypeEnum
.
QUERY
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"继承"
,
moduleName
=
"系统架构资产
管理
"
)
public
Result
extend
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
extend
(
params
));
}
@ApiOperation
(
value
=
"维护资产要素"
,
notes
=
"维护资产要素"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/assetInfoLevel"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"维护
资产要素"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"维护
系统架构资产要素"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
assetInfoLevel
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
assetInfoLevel
(
params
));
}
@ApiOperation
(
"停用"
)
@PostMapping
(
value
=
"/stop"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"停用
"
,
moduleName
=
"系统架构资产
"
)
@OperLog
(
value
=
LogOperTypeEnum
.
UPDATE
,
logTypeValue
=
LogTypeEnum
.
BUSI_LOG
,
operDes
=
"停用
系统架构资产"
,
moduleName
=
"系统架构资产管理
"
)
public
Result
stop
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
stop
(
params
));
}
...
...
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