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 c4c25758
authored
Jul 10, 2024
by
henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改系统系统架构资产模块描述
1 parent
aa89fdb3
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 @
c4c2575
...
@@ -18,13 +18,13 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -18,13 +18,13 @@ import org.springframework.web.bind.annotation.RestController;
/**
/**
* <p>
* <p>
* 系统架构资产 前端控制器
* 系统架构资产
管理
前端控制器
* </p>
* </p>
*
*
* @author author
* @author author
* @since 2024-01-09
* @since 2024-01-09
*/
*/
@Api
(
value
=
"/arc-ast-sys"
,
tags
=
{
"系统架构资产"
})
@Api
(
value
=
"/arc-ast-sys"
,
tags
=
{
"系统架构资产
管理
"
})
@RestController
@RestController
@RequestMapping
(
"/arc-ast-sys"
)
@RequestMapping
(
"/arc-ast-sys"
)
public
class
ArchiAssetSysController
{
public
class
ArchiAssetSysController
{
...
@@ -34,14 +34,14 @@ public class ArchiAssetSysController {
...
@@ -34,14 +34,14 @@ public class ArchiAssetSysController {
@ApiOperation
(
"分页查询"
)
@ApiOperation
(
"分页查询"
)
@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
iPage
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
public
Result
iPage
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
iPage
(
params
));
return
Result
.
success
(
archiAssetSysService
.
iPage
(
params
));
}
}
@ApiOperation
(
"列表查询"
)
@ApiOperation
(
"列表查询"
)
@PostMapping
(
value
=
"/assetList"
)
@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
)
{
public
Result
assetList
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
assetList
(
params
));
return
Result
.
success
(
archiAssetSysService
.
assetList
(
params
));
...
@@ -49,42 +49,42 @@ public class ArchiAssetSysController {
...
@@ -49,42 +49,42 @@ public class ArchiAssetSysController {
@ApiOperation
(
value
=
"新增"
,
notes
=
"新增"
,
httpMethod
=
"POST"
)
@ApiOperation
(
value
=
"新增"
,
notes
=
"新增"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/ad"
)
@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
)
{
public
Result
create
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
inster
(
params
));
return
Result
.
success
(
archiAssetSysService
.
inster
(
params
));
}
}
@ApiOperation
(
value
=
"修改"
,
notes
=
"修改"
,
httpMethod
=
"POST"
)
@ApiOperation
(
value
=
"修改"
,
notes
=
"修改"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/upd"
)
@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
)
{
public
Result
update
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
update
(
params
));
return
Result
.
success
(
archiAssetSysService
.
update
(
params
));
}
}
@PostMapping
(
value
=
"/delBatch"
)
@PostMapping
(
value
=
"/delBatch"
)
@ApiOperation
(
value
=
"批量删除"
,
notes
=
"批量删除"
,
httpMethod
=
"POST"
)
@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
)
{
public
Result
delBatch
(
@RequestBody
DelDTO
requestMap
)
{
return
archiAssetSysService
.
delBatch
(
requestMap
)
?
Result
.
success
(
"删除成功"
)
:
Result
.
error
(
"删除失败"
);
return
archiAssetSysService
.
delBatch
(
requestMap
)
?
Result
.
success
(
"删除成功"
)
:
Result
.
error
(
"删除失败"
);
}
}
@ApiOperation
(
value
=
"继承"
,
notes
=
"继承"
,
httpMethod
=
"POST"
)
@ApiOperation
(
value
=
"继承"
,
notes
=
"继承"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/extend"
)
@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
)
{
public
Result
extend
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
extend
(
params
));
return
Result
.
success
(
archiAssetSysService
.
extend
(
params
));
}
}
@ApiOperation
(
value
=
"维护资产要素"
,
notes
=
"维护资产要素"
,
httpMethod
=
"POST"
)
@ApiOperation
(
value
=
"维护资产要素"
,
notes
=
"维护资产要素"
,
httpMethod
=
"POST"
)
@PostMapping
(
value
=
"/assetInfoLevel"
)
@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
)
{
public
Result
assetInfoLevel
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
assetInfoLevel
(
params
));
return
Result
.
success
(
archiAssetSysService
.
assetInfoLevel
(
params
));
}
}
@ApiOperation
(
"停用"
)
@ApiOperation
(
"停用"
)
@PostMapping
(
value
=
"/stop"
)
@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
)
{
public
Result
stop
(
@RequestBody
ArchiAssetInfoDTO
params
)
{
return
Result
.
success
(
archiAssetSysService
.
stop
(
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